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.65.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a3683d6094b83a4fc8226fb851a718a2fb8b78a2f28e155ff5387cb0e9ef81d |
|
MD5 | 33286d59cac5321501714d0f74c1253f |
|
BLAKE2b-256 | 3bbc3d9a5a8ef994d1ac912413dcb7dfd2f5ec0c8725410af7a1d14ad2e3059c |
Close
Hashes for cdk_lambda_layer_curl-1.0.65-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e77f69317a2b14c4db9fd00e6505b2f314ff771055c2d6019332912345d2a822 |
|
MD5 | df352b3a025feeb0426fcbbcb3253d4f |
|
BLAKE2b-256 | a609507fee38a99c278f99f5a650a2b4d8618c6b7865361fef7e53569c8fc31b |