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.358.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c88e4bcc7f73acd96ae6b033c4901927b6a22b0d0eb899148ec1f0c287c90db |
|
MD5 | c7c1e142451f36291235828622431e03 |
|
BLAKE2b-256 | 23c9243e2baa7d305f2cb9f4ffda0594535457836ef59e296dbdf4e7553a94eb |
Close
Hashes for cdk_lambda_layer_curl-1.0.358-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb192b6de9997b20df54415cc4a45429f9be0b81e0bd8430e0de8f68ff4cd8fc |
|
MD5 | 8bd38cf4b37e3583c774d8d92ec0b10a |
|
BLAKE2b-256 | 2683d58912957ac8ffcbd666eed9d14fbe5b75e0559d5b25c978cefd671f4c14 |