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.430.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c13ca7355b7cd9451607748969e367a1b5f28cba106792de9ff8cdb6fbd62054 |
|
MD5 | c78cfe565f8776ebb401d9136b2bd6c5 |
|
BLAKE2b-256 | fd98e7a9fd8722d0693706333cace6ffe7e9f4776dcc826ba951bca40a6850aa |
Close
Hashes for cdk_lambda_layer_curl-2.0.430-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9ce907d6a6f6d5fe7b24e321b54818142be86ecf7a419cffa94f9805da607eb |
|
MD5 | abe7da6f0081123e084b92ca68ae5fdb |
|
BLAKE2b-256 | 0979e3bb5cad4df372d3491ce3e11c6fac7b84605cd510b359946817ef387d4e |