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.576.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fc380805d8f6cf562581812252092826f4d2692eeee129b8f85d06648ce80a8 |
|
MD5 | f58a87d3174b3076a833f7231e6f6167 |
|
BLAKE2b-256 | dd7eb336ecffbe99a549e18c2dfe7439f66183ca188dc24631d1a38ce76c4921 |
Close
Hashes for cdk_lambda_layer_curl-1.0.576-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04415581a061901729868c9a5dcc4ca4836f20f22da7d7dec0813447482e50bc |
|
MD5 | 62d2733396afcf455ab82077dc2abfc6 |
|
BLAKE2b-256 | 39e424e793515d2621f5a048d80aa408157bc45d8f92e9487ce04642a6d3128f |