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.229.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc51bbf8674b3d013d6dc6a36b5458297d0587374eaeb847e9f75fe31beb2415 |
|
MD5 | bf4f0a2a8be6a1ffcb189c28bb3d2727 |
|
BLAKE2b-256 | cea2ea30fd2963f269a24e6bfe8bb5128e642daef9617b9c93f5b6014d8391ca |
Close
Hashes for cdk_lambda_layer_curl-2.0.229-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 494c49c100a3a86536df4d5208d252e692c4e07478d06bbbd353afb498c0f691 |
|
MD5 | 4ba1f9334dc2e9f7c9361798a9091ddd |
|
BLAKE2b-256 | ac739317540128fc2976e9c7d58616d9c370f7fa019af9d5a9ba003e0bd4dfe4 |