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.302.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 048eb8f379f6599664c55f950e52ec69afaa3a981e74a3723a67e6beaefb9d1d |
|
MD5 | c767c5a79f2b0c82cdda8afaa7df5b4e |
|
BLAKE2b-256 | 91efd809535fe97e626b7db6048302be5360b713b9d05a3dd878bab344de7e14 |
Close
Hashes for cdk_lambda_layer_curl-2.0.302-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c41dddee509faf1bb2ab25e5e8a37b31c6066829feb8e0aa9b3dfe3153f1d48e |
|
MD5 | 01e02cadaaa89c4224b2fbf2a5329afb |
|
BLAKE2b-256 | 7615fd4d1d4ddc8f5311ed64dd1b1fc5c0f7d8886cb1539a2b676147aa47ae8b |