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.254.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e40880c0c6d4239b74cf882bffc6b82c538ef4d0cb11c3e4aad37f3fba626897 |
|
MD5 | 191d6072aa4fe6081aa37721e1a29e41 |
|
BLAKE2b-256 | 2b7765d05db47a08e9307c8c6e09c5f8b4e404e45206732f02c41d0872b6b956 |
Close
Hashes for cdk_lambda_layer_curl-1.0.254-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b312e08d668d8636fcbe0876a46c51f37cce476a0e518f42e8b56d04760c6ea |
|
MD5 | 28c2ab645c3223b79e64938be22c1d9f |
|
BLAKE2b-256 | 3f2f7c0d3acbea707e6a3910b15f42d6d761cb7060297f6a160cdeffcb3e5b67 |