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.238.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b8fbe35386dca66b35e277b961a8a932f5748c72dfe68f497099b7c8222b040 |
|
MD5 | b28cc44068d18c1b1982280975b88c28 |
|
BLAKE2b-256 | 9fd347dc5382c3904facc8687bb453d4b63f9fe90fda006dfff7d84be4f0e5cf |
Close
Hashes for cdk_lambda_layer_curl-1.0.238-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e30bca1d145264d4ac49b97337db315aa7fa4d290227c36a3c551dcce4198fd3 |
|
MD5 | c5a84c37a1967d349a60554125de54c2 |
|
BLAKE2b-256 | 01bd8b0f21d2c53601b5800961bcec8cd942a21f7370aca23adeb007a65aaf94 |