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.628.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ad06a784c39442b0980d8ee52c187fdbd238def7c3d8f56829b7c0ebbceeffe |
|
MD5 | 5c8d40fc2c29b7bcff31a88179fd3e12 |
|
BLAKE2b-256 | c1cc316f06e90f4e93c1da3fad6f619c2fa2840cd9dc525c05684c89509adfe7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.628-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb6ffae569715ae941af7c7d7bf3bdd120330702a191e4007cbe562ba5aa5f1f |
|
MD5 | bdf18c37b53bf81142466b6d8411328c |
|
BLAKE2b-256 | 7c3196af169bc6676ad2c58c4c9b1577f6ceb044a913a61583a119aaddf8234e |