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.53.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ab3afdcc0342db709f77d33e4cae7f550c629cda756f6a913ea467cdc4d6042 |
|
MD5 | cf326b00e35da76b2002d74d60c5d837 |
|
BLAKE2b-256 | d4ba0a11400a169d5033cd25ca9ebd2b6cf90d9ac32f663c565e0980c574a047 |
Close
Hashes for cdk_lambda_layer_curl-1.0.53-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e362b82947d8a6fa0a5e3aba057c54d9f5f7c5dd88f8c2b4772c330b6a5c27ed |
|
MD5 | 2babf28e02041c8fcc68d27bde906ead |
|
BLAKE2b-256 | 7aa1de0431ebf815a0b99d2e9884f21d047cec7ddb879c3f7d6570b05d14892f |