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.98.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99d2c754de6f8f9986853bd3deb8068372ee9ef2660a3302a42aeda3c261999a |
|
MD5 | 30c4b6a90b0eab048beb946a31baa5f2 |
|
BLAKE2b-256 | b5065823144a1206807dae7f3ef23a302cf2ba62f32dd7be3bf323d391483f73 |
Close
Hashes for cdk_lambda_layer_curl-1.0.98-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69f4cda471ebc2497c78524859b2917c2f917d81ac0a162f5be70fa785bef50d |
|
MD5 | b3cb0656678d3d55cb16362a8bbe797c |
|
BLAKE2b-256 | 069208fdd9c65638a22e3c591dd069d23d44db0cf483def51ecbfbc281350b76 |