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.653.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5c7e60cd84766ada11a81ce8c7aa9c7018f102f01dc097b6e2c9889bbad0a34 |
|
MD5 | 79703a63cdc39a4b6ee44de0536db1c1 |
|
BLAKE2b-256 | 0726f2bf0dc0a7507586c8092e8cb29385b196fad79f2f5a2fd7f55bac230eee |
Close
Hashes for cdk_lambda_layer_curl-1.0.653-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 736d477319cf33ef086c304032bd7f2291b50a8099703af7ba008f599fb62a8f |
|
MD5 | 10ac2b14bdcccc4847f5d90c4f5574bb |
|
BLAKE2b-256 | 00524e90b22581a37632f44dbad2d80d85e86cf1398667b29b9c59ce7680e540 |