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.456.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d220ae10e9b88ae5a19ba35d1c9402b5ba38d2b409c34ef82ec2eed3afed30b2 |
|
MD5 | 4174a2b624ccb7c25ead7a2a770b35af |
|
BLAKE2b-256 | 9c8c17ef43a5fb7250b41e885202b2a15bb361850f2587ac7d71fd7e688c7bcb |
Close
Hashes for cdk_lambda_layer_curl-2.0.456-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7737452555902fc8463428f7a5432e717acdce294d4978d56f7549804c06c7f9 |
|
MD5 | f5e313953c9fe5a426a722df1ccd0667 |
|
BLAKE2b-256 | c14ba4f552eb7a80433c033db332086c5d08295c3a3da6287a36499e1802c440 |