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.763.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f8350e56189de30db7b1b00ff5ff0bd647b4d64b5264b6a4f9fbce03047edad |
|
MD5 | c5ed3581c4043419535d82c2c49cc8fa |
|
BLAKE2b-256 | 6f1299d7dee2b5e524435b2e2a4d549643027fbe7ba14b0829aad34a3c558390 |
Close
Hashes for cdk_lambda_layer_curl-1.0.763-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f21fa448dac2999a7a038c8cc3316d0214ba9fe5361306ec7b26c274904b51f |
|
MD5 | 2fec8db23decf0197058ccb685698d24 |
|
BLAKE2b-256 | 420208745c4bc7e614e058d4a1a0177800659b58e062319a3a09fdd23d29c9e9 |