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.751.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e2f704aa25edd087404bb624d699d6f2a255ac68e510ea9ca0f66a9e2eaf518 |
|
MD5 | 50bc5152d93dfb4e8ba65c85630c43b8 |
|
BLAKE2b-256 | c04b66dd35914a22059c8ebf947aa883898bdd2f7ee3b3eb10053ae11ee8c6a2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.751-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44ee8bc3b04d378177333a25f5bb0b46641c51fcd3f916554c3974622067fcf3 |
|
MD5 | 03ff74f4eb9a641b89b98e00c72e1f57 |
|
BLAKE2b-256 | 65c9448f33c7886f38d9a4c4247e1c13528ee8a3d84ecfd9943e3c198a0b74fd |