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.798.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fde75265e9f989e2d096dd421db08929649493b00fc8214d2e5415faed63aa2 |
|
MD5 | 8ca9569d73966f8e81d73c83f2ceed9f |
|
BLAKE2b-256 | 358aad17eca17a6f390eb6ca10f292581e13a38d985053dce04bf83b78bb80e4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.798-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa4b3e36a3b3815829581fe0587eeb8510b7f8d7660b082f1493547a8948be63 |
|
MD5 | f2ba3b2c68f860d640e2528267851c25 |
|
BLAKE2b-256 | ffd0988b28521ce155164ef8099cc8fcfc4a8251210bbb5bf437d654da967650 |