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.620.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d92405829a787a6c86c7c9aef265910f40e3b53e7b4d80d6ac72e8f0fc5ab6c3 |
|
MD5 | dc2813fed802f87404b2e636e593d0a9 |
|
BLAKE2b-256 | 0f9b8ae268fccf4af04915fd025f13c7b04a371488cc733e19420d553fc390f6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.620-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edfc5b4ed0fda0683af2a8ab4160f8f26d103f7764cdd03b58aa14510a0421f2 |
|
MD5 | 1fb67fe073946b3e7c4cc733859f3e8f |
|
BLAKE2b-256 | d630436da89402249c6835d0b589ad4aacb8971106dbd26259369edfb5e85075 |