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.535.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1973db03f687c2fa0b6b72ebdd46488ecf10ebbc4a902f0e00e268b149f189fe |
|
MD5 | c6d4cd2501897e09bc991f544ff07b29 |
|
BLAKE2b-256 | 4852133fc0f9366bf12d6ddd19221d1d8d34db016237151ed2797db9bd23ef4a |
Close
Hashes for cdk_lambda_layer_curl-2.0.535-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 235e995a22d36e4889ccf10fe3fa0ba730601689bc6ab2178d7b2c1569a609a9 |
|
MD5 | 349d912021cf8f4c52c199db085373e7 |
|
BLAKE2b-256 | fcc424c9a75bca5e4034faa4e3c435f9c6c69bec0b319d62075e06e711c0c43e |