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.183.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10c5e4ec8e3631ceb9cabffc31e72e913bf5e06ff8884e576a0c30f3d5762a46 |
|
MD5 | b7eb00bf169ff254d04b06392eb86709 |
|
BLAKE2b-256 | 459d664c57201c53a291a219f52a4cd32032d5960de24bd84679ee347569afee |
Close
Hashes for cdk_lambda_layer_curl-1.0.183-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df04a7be57a854375a7c485524333657d51f669b808d1a5640221275758bd6b1 |
|
MD5 | affe7e29001a48c52c5846c929079a99 |
|
BLAKE2b-256 | 42ac747718c86218e9f2e7bd8f5c2f0f5d511ca4262f10d400017f04f6cef1e7 |