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-2.0.396.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 694458442c8f245729dcbfdfd99126babb36ad91ecaaa39c1ed36b3bab577ce3 |
|
MD5 | e0f30d4345a28c3d9e998c70eb0ecfda |
|
BLAKE2b-256 | 56f62e1b5149617e61be6ee6784ba4eedda8059de5c837184a6399c6c9e679e0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.396-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 406fd2b91a294e8ce3b5c59369b8d254f8a43b8d62a81a37212c230bb898d5d5 |
|
MD5 | 295e02e3760f0b48601b1d8af9ec7c68 |
|
BLAKE2b-256 | 830436259b1d7ff99493c6d29debfde6c14857bf3e62e7380511712d8a30a1f5 |