For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new CurlLayer(this, 'CurlLayer')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-curl-1.0.81.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aad4c6eeac05ebd22a64e771ad0952fbe779740dab0b7d20107e40d868557bec |
|
MD5 | d98b9239256898d6e5fe0443108971bf |
|
BLAKE2b-256 | e22b75f92dbd67ec2d6bb1d024d644ef7ce7dd83d3686d3871eeba2c5395057a |
Close
Hashes for cdk_lambda_layer_curl-1.0.81-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d93676b48d6c4f05b40fa7d72dd1cda7186894ef71c4bfdb8c21d48a8cdb46aa |
|
MD5 | 2287a0fa2b2ab1314cfb3ddb778b9be7 |
|
BLAKE2b-256 | 753f125648432597895d24c49b7a87c931d08974fe239ec3b05797357056f8dd |