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.508.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 211c79fbd65709384b02b086b0bbcf017b2ca67d2857ec47c29d3e0769c00e65 |
|
MD5 | 22614ed34962cde2b9eda4d0cae2b2a5 |
|
BLAKE2b-256 | 26bbaa5cff8a39cfc7a23f245d78c5d0ea840067b2f762584cab826fbd9ff592 |
Close
Hashes for cdk_lambda_layer_curl-1.0.508-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2efb41c49935e6e0efcbab8acec1d4b099e243e1368f905fa1c8cdb37ac9aa4b |
|
MD5 | 137e811b64508c141b6d63178953430b |
|
BLAKE2b-256 | 78ffa5cec9334dcf640227dc6ff6aa7417e198b82872b431cea55b6200fed4ca |