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.253.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19a6ea1dd9b9c74467a5c06c52ebcc0e6a47066c87d16187f7aab21e4a2bc7cf |
|
MD5 | 594b0541baf5302ed96b7af981a63159 |
|
BLAKE2b-256 | 73c3e5fd296ee4183c03d15bfbe44d8b62746072f400e441eda3aea74ddf722b |
Close
Hashes for cdk_lambda_layer_curl-1.0.253-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 473621382b2e5c018c9505cac5c4c26e8da7a6c02610996daea7c8845f3ddbb1 |
|
MD5 | 93a946f9ebe0c0f0b339dcf9c4796354 |
|
BLAKE2b-256 | 8a49d5c59980e65bf649eb6735396294bbf438e7dc710d4374a3bde3e5b9b2ff |