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.723.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a10b684cc7ac445adae102fa15e1b6c253effd5071c0dc34812757c654f9f32 |
|
MD5 | 3f99e5afc8df977894fd97080fdae7fb |
|
BLAKE2b-256 | fcdd7c8d4b3b01724a440aad7aa936403251c7bc5366295b08de61d31536e180 |
Close
Hashes for cdk_lambda_layer_curl-1.0.723-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eb1d4aa05401b1f30b4644b33da8bef7c07e4ed948229775601c491780c09e4 |
|
MD5 | d6fc397955b8281ffff7b1c6074e2279 |
|
BLAKE2b-256 | 056743780d9a8215004f0b8f375348f0446ca4baff08b5e98a302919b9f0057e |