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.195.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34ddbd5d87513341ed1c62d4283e93e5e1205ffc76af6a0e0b409efc5972b307 |
|
MD5 | 1379d4980268ec09ce2a3c90f605a500 |
|
BLAKE2b-256 | 19662a532e0f8162391e26bcde50d9f5325cf0d4eedebb1532739d1e8cc604d7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.195-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79851b6c12abfbe92e69436bb4d009b0c37922b49f86f34709c8f6cc9a410103 |
|
MD5 | 62635d9805bd740b454b454a32aef73d |
|
BLAKE2b-256 | 9b82cb981eddf519a2dff83a96840710056521a0c203555f798bb7708d2e0de8 |