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.708.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e91aa0ed7a60d7385a5f162a90ca310761dd41c2ae3d94825248d0df972a653c |
|
MD5 | 8a8552b8b1604c9ead63734f8ae6a11a |
|
BLAKE2b-256 | 480209fae49ffababba827f35f133492c3db83bbd28e18787f202db531d330b4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.708-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f2a9afa574fffd5403ac9d3f02b0afc752fcc96c8014e73a70f92e8414644b3 |
|
MD5 | a65154da55e3f72df42bb0eb50ef22db |
|
BLAKE2b-256 | 25370f217933379c12e1573520962128a684428bac32604741beba33566ebbad |