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.567.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1264c25d0ea4e3ff48ffa8d78aba2879c33a6077e2bdd4a9e080a4770c936cf2 |
|
MD5 | f7f71dd6f34ad4d6fc84b6f29ca3f879 |
|
BLAKE2b-256 | ec20b98076b498bf681c084384e699cac894f955535e4d42b69674947724c548 |
Close
Hashes for cdk_lambda_layer_curl-2.0.567-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5da52e58807ed9881d3e6b567533a6dc0d06cf27832a702b90f098c0f57d88f6 |
|
MD5 | ad68f3019c55a66dcb2c2a135d49efc4 |
|
BLAKE2b-256 | 0a1a88785a1bc6fbfbf851f88ce8450f099683c43cd7b09653f0f0c8410376a4 |