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.646.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ccd5d65fad99a61a41be40442c4f23385738a73b3ebd8a9e8861f8efb6580bc |
|
MD5 | 6aa9fb3a81c69c61e5e7d0582b2a07ab |
|
BLAKE2b-256 | fb09d7dfd69270c30ebcf62315f9649b9f8bfe7795790604a8fdd86df9c93f5a |
Close
Hashes for cdk_lambda_layer_curl-1.0.646-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33652e7373f5f08dccc80fed7629315e1634e2a2b22a9724cdb82b28a3b9f5b9 |
|
MD5 | 4f2759ebcfebe44c88616fdefc8d327b |
|
BLAKE2b-256 | 2490898005ad0f89098190a321e19e4b558b17e1b675d99fb35192ac5885b88a |