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.794.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08d5463a603eb202f76ae65b85b621ddb3e9d09f84932081d85573aa12a5894d |
|
MD5 | 0fd9e32b8fdf89df1092135207e8acac |
|
BLAKE2b-256 | c498ecf05e69bea19120b6497c4c08046266dcf40fba3bb818a812f787c85967 |
Close
Hashes for cdk_lambda_layer_curl-1.0.794-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 806cc97ba14419bbd85927a9bd0b5221623ad4f929c32a99ec71027a879456ae |
|
MD5 | c47d9db1a0ca9d1d0746b193493013be |
|
BLAKE2b-256 | b6b865cfd0b48ca47c421015f6087cd83a07e1b45c8eeefd91592599b9b38df7 |