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.83.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ea542cc2a40d74a32b5e6c788c04e1dc3029aaeadee98622aeb481dba54c6e0 |
|
MD5 | 016b227fe2ecf4e13be4af3ab1b9cede |
|
BLAKE2b-256 | ee939058ae153738c8fc8acf203fa5a16a445828f69e27a54653929af11f08b2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.83-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7686562d564c88da66e6a98295d44ae415defdc5ee9c20568640f82b270b6f0 |
|
MD5 | ee4bcacfdf8e3056bdf94a9731813d3a |
|
BLAKE2b-256 | a464ca6033c7ca3d60c514706c760d94658816e6bb7f726abf81f47048ad9208 |