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.458.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 387100b3dba916bcfff08ecad14c2d2efaeda3d351b6663d7a74fb2b9b7b9b6d |
|
MD5 | 6842ac3dd1eed59abc6a5759cd675de8 |
|
BLAKE2b-256 | 5bedfcb767ec13666cc811ba979dc3f4742bc5c0690cdfda25f72b48fd7881ca |
Close
Hashes for cdk_lambda_layer_curl-1.0.458-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c730dcc88d26c72324c0b19427052e4a172bd869ed2512ccef6b33429ec467f3 |
|
MD5 | d2b87d28bb815f711c7a15bfd5abe44f |
|
BLAKE2b-256 | ede86d081f6f7b5f11c8aca8356bce2f297fb7e72b5c5449f8794b9a1e2e2210 |