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.584.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b54e1ebf7a887ae52cd6518ee9700d3ae3829e1b84ee00569cf15a7d49028050 |
|
MD5 | 85a19574661207c4c99dcc8436233d65 |
|
BLAKE2b-256 | 2fd015e5b5b8ed961c5ad0960dba7ddcc0d80fafa043dd278cd1302e6590fb4b |
Close
Hashes for cdk_lambda_layer_curl-1.0.584-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb169f3a6e39850316404af27cb6b918aff72d15d9573f069111e2a4d2311c70 |
|
MD5 | a6d201baf38e7530d3556972a864afdd |
|
BLAKE2b-256 | 9f4d810d71e6763926980f65f45b98e66cf54ccbb2c7afb6661698d5612a6ebf |