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.205.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 261d23ab49f467c6f9929d1ea0267a0a7cefe08895da26e6992eaa2ca275ec8b |
|
MD5 | 8ba0707c364f98b246b1e135ec62bbff |
|
BLAKE2b-256 | 3c1c29e41c13d20a474d53fa6960ed911824407a206ed1bb0558efd8f17b836b |
Close
Hashes for cdk_lambda_layer_curl-1.0.205-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 706846157feee515134fe80df39ed26e713c2b7a777cce377ba54e32967c3ccd |
|
MD5 | ed23a1f562e96950688825b407782743 |
|
BLAKE2b-256 | 4432b13fc9e3ea39a5bcf50144d9ede17dfd61fc03245f860bfb8b87c389ab1a |