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.573.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96d133aac84f6311ac15ad21d3e9102f7316d158778345be2dd98265167c233b |
|
MD5 | fa1927c749ec9de5e21eb13db796933d |
|
BLAKE2b-256 | add7dcc57493fc7500a5e694af472cfcc2a36873cfbd5d14d135f24eec33a018 |
Close
Hashes for cdk_lambda_layer_curl-1.0.573-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe1a0d5193e39a7430bf5cf2176f38624b8d181b9da233487c0d85944d444429 |
|
MD5 | eeb00ac8d64180362f9eb2cdc44f290c |
|
BLAKE2b-256 | b40c31d6ca5d7c185ef22aa2af308e8ca8b30beaab595b42b052d21549710528 |