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.502.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c22fda97dfbd56d1985176a6a287534569fc541bb3ac0f6b073fc03be1fc287d |
|
MD5 | a90f156ac0ff1a03cb43bb45e83f8e7f |
|
BLAKE2b-256 | 97018cd64170ee630b701e78b6f75fe85ada7e636addc2bd7624fffad67ac6c7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.502-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5baead7789ac4953c4f02a40b9e82518f948f304ce164533b259aa4106e052c4 |
|
MD5 | 6c6da2667eba9bfa063bf2e51d4f7df9 |
|
BLAKE2b-256 | d84a44757025d5bb5c9512a9de08859c571d4d3fd1b0c3c992616105a9ca7f84 |