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.410.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05c338f070002e1383927bae86275f01a03345641bef01001c47ad6bbdbf6a9e |
|
MD5 | d769b02a2068c7184f3c2dc08b3af13f |
|
BLAKE2b-256 | 4453f52edea90e9fa2b39fcc779ea888925ad08e23e994223e1be495076ddc0d |
Close
Hashes for cdk_lambda_layer_curl-2.0.410-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfe5237b55e5d501641c8071053fcc9a22b9fed7deff2b7ce3e8a0badba7d91f |
|
MD5 | 393892f092beae5a61ebf0f6ac921a20 |
|
BLAKE2b-256 | b09a28750771259e278f0e711baca57cd950ef3cf2476fd75dfb718b2eb30139 |