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.148.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e43f7606eab854f1a5f0fc7e19aaaa056fff5b876a92d3c540beccb3b2f4c71 |
|
MD5 | e0fcf1a26a83aacd36ac1a81e24fc3b2 |
|
BLAKE2b-256 | ff38e6c8e5ef8cd33eb120ab95cace4ccf84f45f391c3a8e94e3cf1a1e30dffd |
Close
Hashes for cdk_lambda_layer_curl-1.0.148-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93772ab8fe5f02bb72a1772226ae7c98464534b5b7b125c3693235540ea435f2 |
|
MD5 | 9338dc5729ae56fa48c70866e9f02ec4 |
|
BLAKE2b-256 | 84e1a8e496375035f4a8bd900653fd9dac3fdec2106300b31c35af45b72d3c4b |