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.208.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06f00e04318770d69043aa840cd4e44767c6147957cc8b9c40502ab14ab98f42 |
|
MD5 | 59714ad974fe105fd4c2d1785eb6f340 |
|
BLAKE2b-256 | 0b5de3ebfc9f19cd9f8e65bb6183068dedc9b3125610dbc92bf47388748f9781 |
Close
Hashes for cdk_lambda_layer_curl-2.0.208-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7826ac527ce3c17065314f912e3322685c04fda40c7aa6201f724550a558fdd1 |
|
MD5 | 30f018b1d6ff57f2f1cfbe34da35f3a8 |
|
BLAKE2b-256 | b934e84fe774815a0250f9c8d8a48750f8bc4f953c92578510f3f607e52b0f3f |