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.28.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c57a5a1064e762a08cd9f542c845317544b6b3022958f985dd47ba45c9f2f40 |
|
MD5 | 16aa0ecd5f86fcd4d11272468a1add91 |
|
BLAKE2b-256 | 3afce23e79631409ed912ab7cf8424b219a0e7e46fddb5a7722856fdfbcffdd7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871d2ceb4696612aec55f07d8167e0149464288796ffe30264a50541c7e85ab2 |
|
MD5 | d5a46090374521dc6074e90164581bc4 |
|
BLAKE2b-256 | da9b707826480b902940569e5a8f934e8367e738631b912f1145a1ce64244918 |