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.685.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 336ce52d8e2db40965784e4536ee7376ac97367ef1393d78ae6084cb2e2b841a |
|
MD5 | 37af2d732d40fe8938356c525373849d |
|
BLAKE2b-256 | d5e7aaf6fc9a285ee8591ca0b790e24930d1a24eee2c8992f31ec2c0093588ac |
Close
Hashes for cdk_lambda_layer_curl-1.0.685-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67012b812a27e9bfb6c789624874b0ed274301cdb9c3c9220d158c843bf88f95 |
|
MD5 | 0b2dae0ff41f8ff29e9a5e96e213755a |
|
BLAKE2b-256 | 889f2fc0a44073847ad8ff19450cc328683b2013df1ab6544c9368e579f45c10 |