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.70.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ac473583a0d3a96aad4b87a030eee9e2b62d3c250c051997f609b7783fa4e4e |
|
MD5 | fb4888c52902ebc11d4ace5a99f12087 |
|
BLAKE2b-256 | 71246d37c6e06a589e6f2e65775797f8924ab8d2fc6d4c97ecf74c9a153e73bc |
Close
Hashes for cdk_lambda_layer_curl-1.0.70-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e621ded1e786eef5bb85951ab173a702f63d9c1973a775d7257a05906e37e220 |
|
MD5 | 8315975e953ce7e1254e7ff22d7d7bda |
|
BLAKE2b-256 | d1e6baeb94b58626c7387d358a9b118572cd00c59f423a8aedfdda3c8ac42c5b |