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.580.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47743850dab991d23ef3731fa53a9a48ddbd5f1c8814050e9b4f7e5eae4dd1aa |
|
MD5 | 5aeff4fcdcdf77bde0b18706b60cbf17 |
|
BLAKE2b-256 | befd0e7e809f4ebe32f7c9e05d89aff1f3dce857ed8dfbc3e2928afb687fbcb3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.580-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b4316d3dc953fc5ce257d8ea84844ad1dbd9bef59e13106646e2bccddd60416 |
|
MD5 | 6b8cc4c9739c6577bd3a579daaa1ce85 |
|
BLAKE2b-256 | c4adf1c24d0686b0e1099c72bbbe4bc1e92c2f69c3482bc19655d251b3ce3cee |