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.422.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b8d9237ebdce4bf386676280fa889daf071a5e202b55195b674241178d8d43f |
|
MD5 | 09ec2041b1bc1e6aa9e98b7428a0d1ce |
|
BLAKE2b-256 | 38e116624b3744ccb38694cbb877979ba5a66efb819b78db0c415b91937f228e |
Close
Hashes for cdk_lambda_layer_curl-1.0.422-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25af05717c96a27e58ef404d1d3c9b609bf183eeb61ac797ee3fca8e989a7958 |
|
MD5 | 3634e564cb984cbf5f7bee49c31bff74 |
|
BLAKE2b-256 | e5443c0d5ac31f256759521ab1327321de54862fef6c53475c88cbd1251bf1b0 |