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.326.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fff05991311f0c58dfedc29c9ea3c8097fd6bb401b8308059c352c5c4bc8e1a8 |
|
MD5 | 39269b47641facd74621a41b9565b009 |
|
BLAKE2b-256 | 2c40287dd02b61c022b02b75617360f1510a5cdd92d4250f7c8e1f5990c89c32 |
Close
Hashes for cdk_lambda_layer_curl-1.0.326-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1311ed3c0a9b8e9bbd65f27cfc2c72e3376671f680aa7a977bb53567b8a0804 |
|
MD5 | aab7ad4bf15dd07e036b47fd03a4d39a |
|
BLAKE2b-256 | a8c9f10621b81efe1043d16b193d23137326393a3cd1da714ee5337fc37821f8 |