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.220.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7127247e47ce765a6c3eac4a9fbcc5613e8d15fac4e3e523d9aba6723353320e |
|
MD5 | ece0a1f22fe9e895589b3e2bc8a421e8 |
|
BLAKE2b-256 | e1306fc55b89d9ccd28eddffafcab8e638b7c4d391dac762387e3fe6d53141ec |
Close
Hashes for cdk_lambda_layer_curl-2.0.220-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55c4eb409adc36bd3983357ced5f2f72693dc180ce96cfa24066d2b39d282bf8 |
|
MD5 | f472802479f617fdb9effd42d40d6b6f |
|
BLAKE2b-256 | 5148c2219186c0c28678968e4926e1578741bc25375730c6653f61668bc16c2f |