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.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ae313db5a91fca4a8ce88a7f19ce2980d3c5dafa2696e0cd05075c9395aa3d |
|
MD5 | 6c4fbdb3d01a7d96a7b4fac345e4694d |
|
BLAKE2b-256 | 36175d04e08cc7590ba845720471d784ee20494be5df2a841bf5f76cb55719a7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e900ce171a88e45cb1976ed515f491c1af9467cfdcd2545e5347318f82fff31e |
|
MD5 | 8c958b087dd5a9d7cb5ef9d89ed4d3c2 |
|
BLAKE2b-256 | 7a9e88f28dac77b6ef5bd788a583ce60868e1641ebf91232603db70228363082 |