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.625.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac15f2a18df7570ffad67b5b33334f4f58d002633dd4900a6cae12f8e8a8e20b |
|
MD5 | ed76958c6d3b253b1c7329a6d8479772 |
|
BLAKE2b-256 | dd4c1f3445eae57c7bc1bb188be48df4b389a9cbaf831786d4b7c8fb9f7e0b96 |
Close
Hashes for cdk_lambda_layer_curl-1.0.625-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7973e2302014162e9daf9b3914b38591697a86ba1f0cb30d575038eba9f95aaa |
|
MD5 | 0a6d2eebba63162280137020eedb83d9 |
|
BLAKE2b-256 | 0b086f6eb13a7a2b10f65a6e3cf6c8ed682c46ee9ada33e8209024e333f45a0e |