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.741.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0126301e69782615768fc0e73b5ea8cecacf6de9caec88ec17b278cd89dd24d |
|
MD5 | 38270c6541c1a8099b6da7e57578fe94 |
|
BLAKE2b-256 | df4458a27636f52f8fa966ed02a4022581d1f0ed503143d693f20348fce91c66 |
Close
Hashes for cdk_lambda_layer_curl-2.0.741-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c35e5423d48554dc02a198ce1f5ef431a211d41b20471c7b8a440a275ec9ca35 |
|
MD5 | 79ce4d545b58152579de07d0c4d33a98 |
|
BLAKE2b-256 | 3c6d5ea59719ec898879216851f6d1941fb1efb0e91b67906551052a2be9e945 |