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.694.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ee4ac4cee04fff0e45ea25eeb042f95004496e2c35ad546ffdfcd6813275a2d |
|
MD5 | 8e13b4085315c85819ea1532e6ef3c7b |
|
BLAKE2b-256 | 7af027d9ee493644334627233d382f96c9d9959bb8e2cc4b4d26ee1e8f30fad3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.694-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572c484eb22126c1003c7c591c9d313608ecc58b191cdea03fab670f6de755a5 |
|
MD5 | 16ed856b2a0bd62f02d531f26f909f07 |
|
BLAKE2b-256 | 51c69390f1129c9c245e2848feb99fa5e65ca60cc52c47a608a267a01a864921 |