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.454.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 471707a0a352caf0241eccad6e3417cc53708387ff58b385840e751740a6e20f |
|
MD5 | 1cd7b480afe2aa3a93e9bd8cb51e6957 |
|
BLAKE2b-256 | 8d8da437765f2eb9e30f3ec3b8e5181183e5efbfddaff22a61e3f939ad7b2f1d |
Close
Hashes for cdk_lambda_layer_curl-2.0.454-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d21dc7df88aa26888dbba96a3f2b59e195598a3f1f71491296ed1b39b8fea7 |
|
MD5 | 710f2d823e0c3d9e25273b2504430720 |
|
BLAKE2b-256 | c4cd22b025ce1fe812f1be9139d345ab85717b9ee5e450f31d62b5bb87512b93 |