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.506.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fe8ebda542d3850dabe9511aff8187f30ee8b3f519fe8fa75ea9443e9fb4185 |
|
MD5 | eb56967016db0a23ddc9bd4ac05a814a |
|
BLAKE2b-256 | 2c249576a24d2322661f7f1fb953fe87514616833ff0aebfb8ffd8b7c660dd2e |
Close
Hashes for cdk_lambda_layer_curl-2.0.506-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb40a8da3e7c5a2fd10f8cc2c5f169c6a3c301d74f45cd0cf246846ca0f85f5a |
|
MD5 | cae6be95de1c15bceda092fab7e91465 |
|
BLAKE2b-256 | a88da9139092de6a55640caae5193aacc19370c4a7650978807a072ac3910087 |