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.542.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3068325b908e3835a5de79f5e1fee9c5568abe9598eaad5fa769ae0ec213656 |
|
MD5 | b41c4a1dd0b73843cbc68469b6bb2016 |
|
BLAKE2b-256 | c8399ae9183f3abd27a3e80134ffcd954a474e45990410fa297ced7193a035f9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.542-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 758f8851847b5804b9a4c7da1f3a840f435b9002bdc93914d770f9b3a2f4284d |
|
MD5 | d2266238f397c4596b04dfa89f1d1c1a |
|
BLAKE2b-256 | 4a665d923c2be891df7cf24366afb8091ec6dd8893d96489aa93b27cfedc9ef8 |