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.317.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 035054a6c6206f3eba552a91e8e501166ec4f49c845c934bfa659a6c9c33bd66 |
|
MD5 | e810701f01b25147fa8562e279850b48 |
|
BLAKE2b-256 | 1be2a549e2b504a1aeab17ca38cc831ccecf7015cab3ec847000f6930b35735d |
Close
Hashes for cdk_lambda_layer_curl-1.0.317-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bdb14bb99a2927666e0a176c0c4be2e43867dafe98dceb2f69224a71a4a5fb3 |
|
MD5 | ba140521da26a89287f10bf0fc51e139 |
|
BLAKE2b-256 | 2ea5ca7ba2bd7bea3f2f781f9d829c990ea82eaa00b91de7db83f889d65c8bf3 |