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.619.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8668325823eb122ab9e3ab278d09f281ad6e9554ba22c076c10f84488756cfbe |
|
MD5 | a2621ef873864fe9263fbc0f8ae9f9e1 |
|
BLAKE2b-256 | ff377037de43f8affb1234ca525374da0de5f75c12c1b9ee456ae3c303484ecf |
Close
Hashes for cdk_lambda_layer_curl-1.0.619-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4feb387bfa2f53d82e564e138d5a499a36b6736d00e0d27bb98b1b0149c72e85 |
|
MD5 | 1018f5af6c12e593b3b83ba2327a7478 |
|
BLAKE2b-256 | ca1c101a2315bd1602ad75c7ec38a5993d6a6065af5bff7f12b97967971119b7 |