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.684.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3a2aaa7a3f71be0799b73b190100a0c82dfb7e5edfd2e6c02de32d1738a4103 |
|
MD5 | 42c2e05b3464fa6a7e2c056e42fd16e6 |
|
BLAKE2b-256 | b1641e72e4ee0ae3bd68021774d0d562c6656ea8778da6cf3401b25190b8708e |
Close
Hashes for cdk_lambda_layer_curl-1.0.684-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1562d56254672eb185e061f79b21e9fa14b692a92b766b9a59d67ebf126796e |
|
MD5 | 650e138a4091cfd8756768585fdbdc18 |
|
BLAKE2b-256 | 727f0123e4a1972fdb04571058f8966579af3d0b9d018a5f1c430487d4cbc94f |