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-2.0.204.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bd5fb20e8651fb12001f0595bb70482833a82bcf462df510773ab7e93b26420 |
|
MD5 | af891d8c233b9d7993e325903781549c |
|
BLAKE2b-256 | fc47d0856d3bb119d733208ca05155f0ef01e2175b4151bf613c4eeb5e196209 |
Close
Hashes for cdk_lambda_layer_curl-2.0.204-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db6dc480971eea26ce2962a1c6e8217e94d4cc98840428e7f3beb03cbdb22ab9 |
|
MD5 | cf22a14a167749c3d9dc3d0482be8975 |
|
BLAKE2b-256 | 38ef50f4d4280ac30d21e3e5209a22fcc981fc5941c8aa37f952c0b44b066ebd |