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.337.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96d6b2224c3ce2e9cc50f2994f6f0585605d69bd7c550e38b576079c353e8243 |
|
MD5 | f9fd24996b01e9873ebf68581c0b7b94 |
|
BLAKE2b-256 | eb7c505960f7b17c6ff376cf16d865f9dd4dcb12bf97e93cbb5c39fc435207ac |
Close
Hashes for cdk_lambda_layer_curl-1.0.337-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aa6c448fa286c96ba5b2cb267c0ba592fe5fdfb999e8d581e8156a474ca9e00 |
|
MD5 | fb2927d5020a6232b723a62554217ec2 |
|
BLAKE2b-256 | 2302bb5477eb01ce450174c0defe4ac54c3aae9be1e5b7eab7b19b5fef6e6c98 |