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.790.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c39228fbe8ad30ee068471809f8bf0e9e2f97e6705ca5b6d68a822e057843350 |
|
MD5 | 2c592dc66ac5b095b7a8e26f18b52b65 |
|
BLAKE2b-256 | 380e4e8ae2c46f20bf7903f794fa1bc1c2b2c949919d4e90f64f3a671dac463a |
Close
Hashes for cdk_lambda_layer_curl-1.0.790-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 507d65c7f3830cb5a0583d1b3ff699a288a30395b99aef20a1f2718408f8f6de |
|
MD5 | 4155c653a0ea00966e9eb4928ec4c7e8 |
|
BLAKE2b-256 | bf9cca93f498917b16aee642d8438566704372f985f054ec9c558a2e07144143 |