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.729.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c97da04ef0d8297a6d90db9a8a6cd9d8220d4c144273e446531ee600dccd2e9 |
|
MD5 | 6b6b2e6789ec030160c3d142f6ccc377 |
|
BLAKE2b-256 | 0a8208b3cd103bfa67284e8f473e9bd141b5ea0e880ac521ef53032457685f5f |
Close
Hashes for cdk_lambda_layer_curl-1.0.729-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d89eb2935cab58e8dd96fd932bf0088ba60ca5598a69232edb9d7c33e6326f6 |
|
MD5 | ab90605861b52a72e5cd803c986f8a2e |
|
BLAKE2b-256 | 4f88193df31b02e93215085acac924e5a6a5021e07ef3359a3b1daa6e632dc84 |