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.324.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b743a4e496ad45771f5d89430031b63b345ca4375361c4149178c0f5922d76cb |
|
MD5 | 2b748d1b11f37c087d4428274680d6a7 |
|
BLAKE2b-256 | 32e2849e3b2afc50f530b70aec944f72fd82eec725a14b5d12811a953dfb3220 |
Close
Hashes for cdk_lambda_layer_curl-1.0.324-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42b2eb226f69d4df62663ba43a84f361d536cd843442e5256498c2771539dcb8 |
|
MD5 | b29200fb0d5d009064e5975d951aad72 |
|
BLAKE2b-256 | 5147f79ce6d5d1d3aa02307a6dcae4ea36fbd316ef1f802fc8f63531b92ed13a |