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.655.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b18d6718060a9b4d8ff6eb153616790749f21f2193460664171cb9e4124f3ec |
|
MD5 | ae28e935fcc53081d8e3581c613c6287 |
|
BLAKE2b-256 | 14a9b017a7c823621b98011faf01b4e657c7b7c1961afa614708c9d5ef4c7254 |
Close
Hashes for cdk_lambda_layer_curl-2.0.655-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39b2dd446c2c72e918fba83f1b0aee14032b808cef4671a4c75c63c3dbc5d6ef |
|
MD5 | 38d650456de5b7fa7efab866bdf25484 |
|
BLAKE2b-256 | 833dd3ffa22b78df608e2c19c6b8410195524e5e0ba102f70c563fc3da68c998 |