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.772.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8ccafc18738ffd7e3017f68d51322348c912c6ead435769b368fd6eaba59567 |
|
MD5 | 35f385b74ac7194a52f725e4b83d6629 |
|
BLAKE2b-256 | ec99cebe0225aaba99a4e208f76c97ad4ca5d1b9601acb9a64f35fbf1e0eb599 |
Close
Hashes for cdk_lambda_layer_curl-1.0.772-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e12212556704322f30e8dfa94d1a379b2e849bbdff1936621072d772b0634f1 |
|
MD5 | e398fb82a56d9aee807247b5450b0387 |
|
BLAKE2b-256 | c515eec679a73983bbf8fcff1d09084b13e4c477491642c5c141edab23eb3b43 |