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.679.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938b30ec7940512094b619d4030e997523f90350e210221eba9c1305ffe36fd6 |
|
MD5 | 43d5a69fa8eed716115c9eea5a595f27 |
|
BLAKE2b-256 | ab94782d76ebf1d312d61a2e1e52a5589a03359b66f0e256840dab2307f0a9f9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.679-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e43b2f98ead82b36c05528921f236a8893bfe058140f02f1782de59611950fd |
|
MD5 | 6af5cf29213d039175a12fe6140e1de9 |
|
BLAKE2b-256 | 4a5e60eb84fd14095892d180635c1b3345f7dd192534edcda533e70bcab335da |