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.475.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfa93646000573b9628c7d22266c39d536b5d420370c7ff7795684f3959ff048 |
|
MD5 | a96c03168e7b9d9541113c4774bd3e27 |
|
BLAKE2b-256 | 7b8f0751ec65677d93190b8e906394f603be8a6e5a5a5b5e9d79e946d6181d86 |
Close
Hashes for cdk_lambda_layer_curl-1.0.475-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb6c0cc5acc360952abe2c3839f983c854f89e08574ca5f71144c2b4ee819037 |
|
MD5 | c6d00f0d3baeb694e7adcdfc96e62ffa |
|
BLAKE2b-256 | 604439cd38f540aea57fe576f402ce8d9e5aab7361a68d8aa00eb7533d07fac7 |