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.497.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e4d29ee68306b01f5dc37605a2fe462688411860834c17bcefec8d61018e30a |
|
MD5 | a39cc626e31e0007bcce4480271096ef |
|
BLAKE2b-256 | d2d2b6d7ee54fc183c2386e07a60d5fc8b2b568fcf29baf3f81e656c3b88dc98 |
Close
Hashes for cdk_lambda_layer_curl-1.0.497-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d11e267abf426f86e3b363e31553436baa39906dafcf0f8fb42be8049ed30925 |
|
MD5 | 51b4f57ce8eea26149d798fae9f61a36 |
|
BLAKE2b-256 | 62607aea7cf042510b1779f88a9ef9c434583174fb8270b6398e6edf75439265 |