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.324.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72939480599ef7b801f1144c468fc6cd5502206549de09c0b794930f54697940 |
|
MD5 | 1586483ff5a025125f84f0740ba8e249 |
|
BLAKE2b-256 | 823f8d6f8b3874d33c53f7f30de250c121d79163ba4d81318c0a2376e8396036 |
Close
Hashes for cdk_lambda_layer_curl-2.0.324-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44bdd1127c54a172ee5344a0b51d079a531a4930fb62a6ded9c236531dc2e7f1 |
|
MD5 | ad382c90ddac1e96837586e392c85e50 |
|
BLAKE2b-256 | 17b6b279e164357d49593f363322180ebb62b81a660af18904936eaa2f62030c |