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.241.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8377cc25ab6f7258db2bda06c6715e4ca44093752bd15e786dfb365d3f667dd0 |
|
MD5 | fa014136c0beec3ba16a67ffcf87400d |
|
BLAKE2b-256 | 6a7fd05a534b437731568eb1e078d6b37136c7ef7d33991257eb03eed7b8b10b |
Close
Hashes for cdk_lambda_layer_curl-1.0.241-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0077ff75d92bc876fc3ad14cb6668ff6edb60f6b6b767173ed047162db107606 |
|
MD5 | 6c1c811b3e7cfc5c25121497de0fa3c1 |
|
BLAKE2b-256 | 2cc094132f14a7a8949304b85cab858f812231ec28de6d9d98c5d5062428ad55 |