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-2.0.329.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57cbf35722d857a7f12fc0b6a741bfd6790c4d2066b44407fa77eb6f05f39c4 |
|
MD5 | 7e4f7c766e1949333f262b8945057af6 |
|
BLAKE2b-256 | 8a9fccece98a93e26edfa69319ec245db2cf5e2cb5ea09ba47ae9ecf0c021f4f |
Close
Hashes for cdk_lambda_layer_curl-2.0.329-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa04c2f6ae6f7d2f1a4d847d3393cdcc7ec86639aef7b8adaeb3ce73170ed653 |
|
MD5 | 0a26bada04020e5e5cd7a5f94ed929c7 |
|
BLAKE2b-256 | c736e6bfa9b6d13e4ce632e5c2a646967eb22ae261b7e1dacf4ab56f500cefd3 |