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.764.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 091c485a0c65fa89c22848e6c6d275b418cf66034cfd3febd41c93af47742662 |
|
MD5 | ef16bd6bdf96a2cf90a3f83aa8b5d1b2 |
|
BLAKE2b-256 | 0c2b4f16c3fa744807671598e5a10fafb1eba0911fdc7dd38874e7198bc8400f |
Close
Hashes for cdk_lambda_layer_curl-1.0.764-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8b83dcf746c951f110230e8feb3c611769b938029ce0f9a5540cbb0c4efe581 |
|
MD5 | 322a1394e938e71978c2fb148bee38a9 |
|
BLAKE2b-256 | ead8ee2cc3cb0aa3bf612b64b90cc5d0b1f992737d1d1f94b2a25b3b71409645 |