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.541.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4cfa884d45a36ee8b88791cee4f7fcebb11f9c93c3a6c2f0ec034ea2935f4c0 |
|
MD5 | 4473e388e6262d40f711120e5e2d265b |
|
BLAKE2b-256 | c318b0e388dfabc8f334205899e50c71da5d8c2e301a71c44c49f82b12ebd30a |
Close
Hashes for cdk_lambda_layer_curl-2.0.541-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8a9dc7dd8f6a50ac31c3c02b896fc20d559734cec10900824641ea8efe023b4 |
|
MD5 | ac8577d0bbf3556cb0e181852c68290b |
|
BLAKE2b-256 | bc019167e05579a796caf1cc824b54a1a1fae31a10396c5124582bd8f4441d59 |