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.109.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b0798896413e6d94b3de9580da3ad2caa682ac923fb43752d5030510f34ad9c |
|
MD5 | d852a245584c587b7f5d0b971fad42ef |
|
BLAKE2b-256 | cbad2115e5af770c65d369d983b64664644d7580f388911198009bd005d0b708 |
Close
Hashes for cdk_lambda_layer_curl-2.0.109-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39cffe2a1e2ba4c17f0b21c7afb214b706a60b996b10e3a079ffe4260bfdfd9d |
|
MD5 | b4387de2012a4c4864e214999f0b9bcd |
|
BLAKE2b-256 | 1f7e6b2d26e61281c202e23a7db07ae3402b17f92d9b7d31dc92803440524c4d |