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.191.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17a26403683e7122beea973ffdc2d7a8ece804e5f6b6eb23cf3ce3e032f1c39c |
|
MD5 | 55b98fa40210697a96109ea3962255b1 |
|
BLAKE2b-256 | 6605e0619b293f3945db2fa0bf03d594de244ca887e0ef11505716049db45966 |
Close
Hashes for cdk_lambda_layer_curl-2.0.191-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fe818e3ab365568ff075cb099d7fb9b3df11da04c949411654e0c937a65e14b |
|
MD5 | 4a97cd6285172d3fbcb368421c4ab901 |
|
BLAKE2b-256 | 6cc5435ac7f84cd193f4279de9984b931562fe97bafef72bf753782c3e6a727e |