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.721.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd0d3167f3b7966002f9da49a7fa93599cdce1565ccfb025e6dbfc23760ddef |
|
MD5 | 1edd6ab736327b1bc18b59aff231b345 |
|
BLAKE2b-256 | 313886940e015b0db3a987843fa9a106647a18858cf6443a37d9d8af0d41e735 |
Close
Hashes for cdk_lambda_layer_curl-1.0.721-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1027d65e7336106ba82fecf44237a4ec950cd9a6dfe7254c357dcaec75859f12 |
|
MD5 | 4ddd6efa3c38d44536a877acc035acaa |
|
BLAKE2b-256 | 272c10f51e9ecc9ec099f5a45f45cd298c6d4b364f425c1270c7a4be2ad815d5 |