For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad515caa1b4d34676ef88110ac46e5a21e1c00d9e60d65ce83580dfd08891c1a |
|
MD5 | 94d0d6e4a177d3978c4c53deab88aeb3 |
|
BLAKE2b-256 | 85c8e9fed5c9ecfdf8695680c0caab0c207c7898cc2e7b9870ac30dacb356ae4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec9a6704059377a25800da2d4dfb6084ba21b0794c11e20e835a61ad598eb7f2 |
|
MD5 | 9488f8532cc84d64555d5168565e39a1 |
|
BLAKE2b-256 | 0c9c33895a90d590b01e755bef257a7ddc835f3f47055ac7d8bf7074b60bd598 |