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.706.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11a166ed23967e66996b51a3f54c2688d29003d412d79cba47f900352a39907e |
|
MD5 | cd23b7df73e230f275fec47b3dd57060 |
|
BLAKE2b-256 | e219b1398d5b852c78fb1be9f9ceb7462851bb0b96f09f439771b1de30d4963c |
Close
Hashes for cdk_lambda_layer_curl-1.0.706-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d12857eb0e26c1a1d0872920d20129c067d4008878f1a9ed2a6a2b890aff450a |
|
MD5 | 7d3b421d47067725a24f535020055f0a |
|
BLAKE2b-256 | 6db6af11d0419086a3918532b8a5dbcdaa9991002620f13b99ccb85045b5c0fd |