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.39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c6de6c918154ddb5067ad7e0f33f3b74b09a65776a40d91b5d8e042d90f5afb |
|
MD5 | aebfb86397949e2be2c70272a215eb7b |
|
BLAKE2b-256 | a31b1aa61d8b97da0c4dbdfdd531866a185445861b5da1937d5e7cea43c51e6f |
Close
Hashes for cdk_lambda_layer_curl-2.0.39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3116a86e6341b8f112b76910d89b4593b649698a7b0821fd466cae31f1f2267 |
|
MD5 | eea88770d63e4e98ec200dcaf0a6b5ac |
|
BLAKE2b-256 | 6477dcb832c5982d7677cba6010e0a32536a1eb0454f7211b0afe993949bd78f |