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-2.0.538.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de385633e326048350954b9645c19d1d55a7452bf04d2990a6b575bfdd196581 |
|
MD5 | 52f52255812c7656d0d0f0b739c30854 |
|
BLAKE2b-256 | d29ad357d480b7d59c99c14f6abbb623edd5783fbec60e00e809fe05e0aaa50d |
Close
Hashes for cdk_lambda_layer_curl-2.0.538-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bd9dd210bc044c926ee25a42e4066b81fcf6776054640e1a222410df3caa09d |
|
MD5 | cdee568ec62a61c9d85b7bd8a3de5041 |
|
BLAKE2b-256 | 39737273ecb7b8ff186b180444c72d790e1ca760806591eb47981029c63d6db5 |