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.671.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0ddc8fd6d9d75bd8341f4de6da96dc7e7d763faee79adc1792bf34eb8be6f7e |
|
MD5 | 08f4054441483006fc8aec12ca318e6c |
|
BLAKE2b-256 | e3d5a702b55daec5f2c528e0802aded5467e55216dd5e63e9f6ba3a69cdc1f34 |
Close
Hashes for cdk_lambda_layer_curl-1.0.671-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 863dc785d15720a23094405c22bfbc72c2e2f18b427e9164ffa0cdda371e08dc |
|
MD5 | ea2e1f2013b7ec2401a6dd5099ab8cc5 |
|
BLAKE2b-256 | 84bc5292d3d9339aecc9ebc603e14bcad3476a97de136003addb38403e3fd6a3 |