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.132.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d5eb252afb5b30956438d94815807d3e6593d78ec4e263abc794277e995212b |
|
MD5 | 7bbf7f08e7de755d987c7756150ec047 |
|
BLAKE2b-256 | d1adfb3dc05aad174b64f07148ab7b3136e0e0a51c8062db9d176a6fa822f0d6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.132-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cace1feeedca2cea32ea7e5c36b9f616ae75b737771a2cf436c5fa5823955d0 |
|
MD5 | 8de08c8a423b2a86fa8f04de5b0cca7c |
|
BLAKE2b-256 | 62f195f23b6094228034f0b8ed8017f4cbfa439cc7fcabf6bb369556f67c289e |