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.786.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee3b8fbfb4dfddc0bc8d4d239e07ba653083ca4d4ec9de4794405d75f4f11c4b |
|
MD5 | 1582c59372d1f72d3b63ac3eb067d9af |
|
BLAKE2b-256 | 4e2b89933f9daa4c2af21c8504a35f52dbd1126ed65bdea9d5e58f4f111a089b |
Close
Hashes for cdk_lambda_layer_curl-1.0.786-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c76f3afdbbfd20cff7d20e573d7d3fc0c753f9172b938a24a09dfae81d0f8355 |
|
MD5 | ab16d5d813254ac2c9ad57058a3ac72e |
|
BLAKE2b-256 | 44830c9e29619bd5c0829a32cb9eaa154ba71f674678642c691ba4496b081a19 |