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.429.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 014446d59ef4e6e9b10d327ed2965f499e5157c304e18a851e533c81503677d4 |
|
MD5 | 6d15cc51936a34e093c9e105e171de24 |
|
BLAKE2b-256 | 541018a0d1549e1e9201b4143c59d754bf4966c920b9de5ceeaa75ea87d945f3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.429-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd06ab8e3ef35339a947b6808d0b291ee5db89f6f190bb0d2e2051f580ed0af6 |
|
MD5 | 98e0a0f7d43e20f40a3a21ea7c830cea |
|
BLAKE2b-256 | 641aa512ea4ce4d758e2cf791b9bc013dcb1dd15d82a5e76debf83e1300a9883 |