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.564.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b58263587e7fb74cda24c3a6bae73ebfdf926410e710018c400f5815f97a972 |
|
MD5 | e365d324c6c20c3c155ae1a273b195ff |
|
BLAKE2b-256 | 5e037c18c4023829daa1f57069cc042dc635873e9a1a2a19dc98474ba986d60a |
Close
Hashes for cdk_lambda_layer_curl-2.0.564-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b63125926b2f8fbd3af22146543e82f84454c12c12268bc7037f6de903b80584 |
|
MD5 | 73bf76fe409470011851e08704d1d4cb |
|
BLAKE2b-256 | 0c5321ca4689182918e01cd1f4c4f3bd9ff9dca0c5068e393b16be734acae801 |