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.274.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f71b592ad496280cd3a093efae8d8821be85ad9fc303a38bc3553c771c192476 |
|
MD5 | 0d96969a6a68c01b53041e1be476a1f6 |
|
BLAKE2b-256 | fb16e8d5e7222be18a26f80304509b5d8d26776904db066b4f120740b4aa380d |
Close
Hashes for cdk_lambda_layer_curl-1.0.274-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce1f09161b436532c28fd835b04182bcd7a2a80f4c8436e70a21ce7f3a1047a6 |
|
MD5 | ae652810c4017b08a6a3ffd4a61008ac |
|
BLAKE2b-256 | 9c2a47832584efd8640e105ed72029e9098b9a42bf5be1521b72ce81737849d9 |