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.501.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 951ae9864ef2f19be82309634587aa52aecff146a5b99188a04a780a9c7b14dd |
|
MD5 | 5af28c1ed5c2f71de2e37879ebb48352 |
|
BLAKE2b-256 | abf1021cc679114b231f6838400f7b800613f9c17a582f5ae9ee928f9c6beff6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.501-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4779ac8cd142cb0314451462c59fa699ec2c13f3175bdac7246e4e3a295f9b7b |
|
MD5 | a672315bfa2a7a30d26bc6a2390e944d |
|
BLAKE2b-256 | 08fe55eea03c845c05d31bbba7d9c2883a49666ebeddac472e75db470cc59313 |