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.748.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc3372b43a5467dae8afd9e349f2bfcda6d72a3e6120dd87da3d8e41c74ad4f2 |
|
MD5 | 737cb87bbc643c7cc18c17fe7d812dfd |
|
BLAKE2b-256 | c3280e8c973f69e1f23bbdd5ab18e66d1f2c149688fe76e1e30f71067de0efd7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.748-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63a2e6e64a35bdf2225142bc6845686d068391dc7d58052b8315a2be6e9808e7 |
|
MD5 | 81cad391df758b9a68cdfc7e84432c86 |
|
BLAKE2b-256 | 4f51f714d384e1cfa6ee723e6d58a11f8120a0e681f90c4de043941b10b14be3 |