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.659.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebe935b53984b1e9f9adc47416841e0246bd86367d48b8a223b3c449719ee40d |
|
MD5 | 577194428c0a57d96aa1f4de6571beb1 |
|
BLAKE2b-256 | 5840ce9b7263686d587b155df898aa2a7bdcbec14a27dd50a1c4b9af48d090f9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.659-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08bef9bf2e4be5d32e88e76bcfee39c1e08ccb4f23bdb4346df37e5d0b52c937 |
|
MD5 | df963ec73992599f39fdc2234ba24118 |
|
BLAKE2b-256 | 41a4aea6734be775b4d293af561eb7f650e708f8768ad4ae57dcd36a03178cd3 |