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.526.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aca46f94a114701dd273f2160a121b154416b493dca4635fb72584788ac797fe |
|
MD5 | afc5115b0001e8db479fb62b9e16d70e |
|
BLAKE2b-256 | 653eb693b2a93ebd8492f17cab7d7ac7d00f3998505338205ce81a505f1b91ef |
Close
Hashes for cdk_lambda_layer_curl-1.0.526-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8179d86ca75ac5b4092961b86f0306b357def651a8b7f771eabb48d5beff206 |
|
MD5 | 404c8f1122f9b0de17b82e76c90c94e2 |
|
BLAKE2b-256 | fb41fab39ec75b82c880eb0cf0808bab9454da8cb29b24de3efc8da34fc80243 |