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.735.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ca19dfd64814e404322218cd23d189d480e6a126cf5be2828d43f036e328ee2 |
|
MD5 | f7ec5b4d670575413e020b71b1fe1d6d |
|
BLAKE2b-256 | fba227700acb4d1cb37dfb29b63fd06ee8b6da1655f6b77416d89e9121064400 |
Close
Hashes for cdk_lambda_layer_curl-1.0.735-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44a2c25191747dcce65298e56048ba21904d5f4fe6d402af5ed3973ecc60941c |
|
MD5 | 79f67bc1d41d8893ba71caad721168ba |
|
BLAKE2b-256 | 5b1dee0049bccd6b41fb9fadc2aef1514af4d99a8aff8c7c776911f1c42a1d2d |