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.499.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cad6cb0328d81697c150bedf8dda0fe42d247a1255083fc011675ce7cd88a7f3 |
|
MD5 | 86adf211c49a2f79e6b6d9e0c11e2009 |
|
BLAKE2b-256 | 49866d2f120280bae6c8487072ae04e0a6eac5695d508f90a6e9178185b9fa6b |
Close
Hashes for cdk_lambda_layer_curl-2.0.499-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d16cd7146ee0958ef1d717d359548566c0642dce82abc159460c10adb39bf88d |
|
MD5 | eda8fe5e7ff24224925960577854ae04 |
|
BLAKE2b-256 | 9dde5a506062ef7d109f2e7d771850747c76d9ac3cf6924c9a41f8161518bb7f |