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.411.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 030ffa6a2476d2e6a60c5b6ba008826c11321c11c05f1468e801f522ccc5de7e |
|
MD5 | 6b7d62a3dec13770ef5a42105cd0d1ef |
|
BLAKE2b-256 | 02cf7acd256bf918f8277a939038f863ab0040981f1d66359eb23413d577a1ea |
Close
Hashes for cdk_lambda_layer_curl-1.0.411-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12efe54948ac87c7c9bc89e6e2d726fcda62298c7e99c91a3448413921933e57 |
|
MD5 | 612d57eaaa080f35c3d668e7776a3200 |
|
BLAKE2b-256 | 1c6617c7443ee8e12b8e87e6951e86124d6b532492248d76d9e47edd054e4243 |