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.37.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3d1cda5a95753f8613685b82bff21815508826edae2d00d928345301d3a27cc |
|
MD5 | 8025ffad5231c4c73a2b7a19a830cae3 |
|
BLAKE2b-256 | 52f331f17472e4d215735cdea43fe0e04155132cbfbd7b1ac89cb06057440b2b |
Close
Hashes for cdk_lambda_layer_curl-1.0.37-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87fdb93d232978d093408d44b8db07f15e40761e8a22f6256758bfd6af61694f |
|
MD5 | 91657d50c6e16d5eab001039ae067fa3 |
|
BLAKE2b-256 | 63eae1f32feb152663ca713d0d91a0eddf73d9a22bb19e1092672f8479bfd252 |