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.508.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0c4a4dc4a47bfd062dd91567f98f5248cfba024e47b8623ab107ffd581e36b4 |
|
MD5 | 60e6e0cd764249f267d6a319d0125273 |
|
BLAKE2b-256 | 5684cbc06bc6bad1e055a1e0fcbccd471c6242cb79bbbc2d50e6d6e030817e02 |
Close
Hashes for cdk_lambda_layer_curl-2.0.508-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26ac984ef8b2f31d116d7b9d318a754521d75fa7e55a32672571dc4875a9bddb |
|
MD5 | 468554c88dcd1cf2825f348a8c656c05 |
|
BLAKE2b-256 | 93c64ddf7b5f73e308341b6ba4dbe098aeb0b3f720b8678ae91b92cc9809f43e |