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.481.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b554e5cae931bb125102e92b23378a0894708f8d29d39f13e50e5b4ca84d0eb1 |
|
MD5 | 5cb0fc64cff0840b586f062a83d16582 |
|
BLAKE2b-256 | 1e20315276050e87f13855910a32fc2790b34e165b1fe8d41c385d1ba393a508 |
Close
Hashes for cdk_lambda_layer_curl-2.0.481-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccfb37e13b141a85d9c69471d6d6fcd85aa70617361fe59700e2162e004b7f7b |
|
MD5 | ab1e1eab6257bc6da5b0b9e988fbd811 |
|
BLAKE2b-256 | 18e581b58215c116203054ad14700e295743a75625167fc8bab3f6ca55c0f608 |