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.442.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66f2aefe18a5b10d9306f65aef3bfacd6fe108c4d467f7a0691fc5657347afdc |
|
MD5 | b0c8406cfe8cec0a8f0133c50bf11d86 |
|
BLAKE2b-256 | 25a8adf10d01ea9db90ac8a0f807d38420c6902edf5f39a6fe77f7c2d86a3f67 |
Close
Hashes for cdk_lambda_layer_curl-1.0.442-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36e8afcf16fe09948fce64235e18cb95b9925eb6ebe591a5075ac32612aae23b |
|
MD5 | 5710841d7d74516de2ab9498b7736228 |
|
BLAKE2b-256 | f0168c53871405edbefed25369c66322e84e84bd3a51a4b12477776c67266703 |