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.712.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c290b4a0d146e896e73d9309d79e0d69cf4fe776a68b28b57a066e047423470 |
|
MD5 | 72e4c97d8536ccf827834ae196ad705f |
|
BLAKE2b-256 | 8be1ab65cb7abfabeb1ca8e2062182f3b366a4f977bfffeb9c0d4ca96cae719f |
Close
Hashes for cdk_lambda_layer_curl-1.0.712-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c30bb503ec06ab70d714ae9431a478b9f7a157fba9b1a5cbd71915ddec9528bd |
|
MD5 | 76ae338739e773673a88dce4fbeaad5f |
|
BLAKE2b-256 | 6e685ecbe761713cfda7664178a083e41e69f7216aba3ac7c3c25ec0b2d9d37e |