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.810.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 322f35af45b1faf46944448a21de1e47ddbc560b83340aa8c669afabb11251a0 |
|
MD5 | 8a5091a9a5b7c9ce9ae458cbdce535f4 |
|
BLAKE2b-256 | a3f7e271e7e06b7a0c77ea957e4acf61f222dade53a75803dcde83c67a1f6454 |
Close
Hashes for cdk_lambda_layer_curl-1.0.810-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cdb32cd04addc8adf6a33b6644ebef7c802cb206782ccb6a778ed256dc4523b |
|
MD5 | 92ac356a95d3fcf74c01e57795861883 |
|
BLAKE2b-256 | 74e4c4003104efdf6bcd4a379ca12d73bc7b304bffaa262e42827d90391bbc7a |