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.452.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a8face74bb25f6224c76b04a2e794a0b403ee3352a25b7deca3fcf354ea910c |
|
MD5 | f9aec21d10f8a7ec0cd36e67db28f2b0 |
|
BLAKE2b-256 | a5525853d5fea8e9a628ad333027229df1d84826a7cce854711e5f067f2da1cd |
Close
Hashes for cdk_lambda_layer_curl-1.0.452-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d51f7dfd6de16454a684e9be3edc3e1703bfe878d66ab5e63fcb94ac9871913d |
|
MD5 | 99b60a19d2bce30c2038afbd34988752 |
|
BLAKE2b-256 | 1c010481ccf794102ae62370e35d4f658f56bbf4321888f545340e177c1c25dc |