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.262.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6de76646507c30b60779914356107548df02c0c78db6c834b6ebe0f59c06bda0 |
|
MD5 | b8381feb4455d928f41a4414a002e0a3 |
|
BLAKE2b-256 | f8e28fd5501e27077ff53072151ca179a173ed205bcb07959cce5f0599799f2d |
Close
Hashes for cdk_lambda_layer_curl-1.0.262-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e757f7fd02563a899234417a98247c3fef25e5cc8f87c13b58adbef3d3fb321 |
|
MD5 | 22ab49a2a0038f377faaf9cc08dd9971 |
|
BLAKE2b-256 | 773db087358509910cfe3167219b1b2cc34dc92c2a6a521497bbb7673f29bb72 |