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.748.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6b160a38536b1011386b696254254a725dffda49caf8c1776a93bc7b022cf7b |
|
MD5 | 26e484d17abdd1ccf271145a5fcede81 |
|
BLAKE2b-256 | bafe643bf61a7b052b4aea392cae032aeaec1a298ae1900aa9c26bc5d1fb85a5 |
Close
Hashes for cdk_lambda_layer_curl-2.0.748-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d055163aa9c6142b37f29962d5541d6f24a255b5f28038ee29830ff01c19640 |
|
MD5 | c08fe5336c1b65764f5b6496e8905d02 |
|
BLAKE2b-256 | b3fd519400f54ab5752f13443ee59789e2e242874d74525de2d39956e3cf6621 |