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.424.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a96af504f040ed6a3b1e1c13ccf2830783326769ef0c036d052079e18b96b55 |
|
MD5 | c36a6d8232294a9836409d3c9f92d320 |
|
BLAKE2b-256 | 3b8be10283cbc64dd9c48d856d95fc31e1c524968eac2cf70aaae489ad6f0720 |
Close
Hashes for cdk_lambda_layer_curl-1.0.424-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a5f01ab8e07610bad81f090ec6538b4a7a1c2427ed56ef5358eb9bb46b2c0b7 |
|
MD5 | 119d8a1b15f51c2fb304acf7d79710fe |
|
BLAKE2b-256 | 9f913745c9b99bfa1931a109bc6f486a42d7eb1ea8f084c6096dffd39dea0570 |