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.318.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6351158afd7b0902d018d1121e02d76156efdd6cacfb6917d48f60e4e56d753f |
|
MD5 | fa02a92d8f16c5a61923eb6fee306a95 |
|
BLAKE2b-256 | 81c571eaf11c48c943fd498df01072cfbcf7927fdc3e144e86cea06c2e4c6d8c |
Close
Hashes for cdk_lambda_layer_curl-1.0.318-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5634cfbc6def54d5888a24f1790bc3d43507d94cde0bf314cd76ce4205b5999 |
|
MD5 | 40f618817d3ef1942e7dabfe0beb87e7 |
|
BLAKE2b-256 | c12f7d83a329133222a3c058bb5bfaebad5540bf2f1a3d13fe3439ab8c9e446e |