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.666.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 408d2ce994341ec88eb2c65f27eef8f523021b62407dac968009c6550c8b9950 |
|
MD5 | 811ac19f9b73f5030a5a91ee43609174 |
|
BLAKE2b-256 | a62aa96962b0ae323b256fb3b9d3ce420e7d546f5fe0b04f7cb8474b3694199d |
Close
Hashes for cdk_lambda_layer_curl-2.0.666-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dc95fed3320d1427690cdf663cd6033aa701c1890d5df54308a7977743147b2 |
|
MD5 | 7f6b489e8bef961a452b1f467536eada |
|
BLAKE2b-256 | 1e2fe52037330dc2f87ed979eccc8358abf4f1eddf858d9cf353456e2edd4c57 |