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.117.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eea9f48ec5103a6eec87c1c39e90729e1dc491efb50f124c027e6838aa752af6 |
|
MD5 | d1c2273cd67f50d31fca7e4cdc37fd33 |
|
BLAKE2b-256 | 786bc666a860da7a928c8204a14ea918c6f049e6296d5328c34b31046954bdf3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.117-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7001f96a4f0b8e3877d46ec201fca5f60e9c821ff6f11088f9002c9dd89e7387 |
|
MD5 | 53637ef83c70702c4484b6e281e583bd |
|
BLAKE2b-256 | fff04aa8510dc4e6ebcff045d211205fd475f8a1476e52a8b5cf9ba9a18bb7c5 |