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.832.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29c95ea4255b8c3845fbbe8d722855b90e0618986b0a0b2914b2818364902dd7 |
|
MD5 | 4e43c3957fb948630d86a077eda41c57 |
|
BLAKE2b-256 | 19e3f302144976c991a0117c83c4a321908c9361a970cd7f28b27e42f48514b8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.832-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3ff7519d4e65472c46a901354af46fb3d63e713bc6ff2d713a30028bef55a41 |
|
MD5 | 391eaeca8872126a6771cbc490e1f9e5 |
|
BLAKE2b-256 | b4f905d4d359a2fc497607e1708f5400c8f7b8eef473a6a0fb5c987aff09cc5e |