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.213.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ca7e374c53d50ef12710299d17a39dfdf73095635e7319e6c69459c29c74b98 |
|
MD5 | ff5606302a68edea25461b8623188af2 |
|
BLAKE2b-256 | adc17878cc11da8250f78d44d8f0cab79ce3388fb8bf89c70d33f1ff45175719 |
Close
Hashes for cdk_lambda_layer_curl-2.0.213-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe21aa9175799994a99e2b93688628fcb5f6fa44d33ca268af7b0954a23baa6 |
|
MD5 | daccf7861e5eb50344d4a47f8c8c3134 |
|
BLAKE2b-256 | 7198eda733d25e09728064d9bd1e332505547d9768f194350547d0d50ccf2355 |