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.223.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 089d4e7396011f12db08ce920b8b9ac5a7c66df418e32d3090ae1ff87d5eaf91 |
|
MD5 | 2d7e005a8a1334f4c0e8c7f2c9622362 |
|
BLAKE2b-256 | 56f5b6aa7d588d02a3f16de645aee070422355091cc5c75b8007f6008fdb2a6d |
Close
Hashes for cdk_lambda_layer_curl-1.0.223-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e10400ec2f1c3dfd54b6c7b75f75d0b7dbf480ff2ba2259b6662af1b253f83ec |
|
MD5 | 6e4b41c8f2ac2a05cdf7a52929190bbe |
|
BLAKE2b-256 | d3b614d8c5b86c0adda422b51657a08ea4a770013efd3ce5e3b6108e2b16ffd0 |