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.134.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33722e1a28bdc85cc31b6036e471558592ad5dae7580aa11bb5406207d615c52 |
|
MD5 | 7c6053816423c2335b189dfdd714f872 |
|
BLAKE2b-256 | f28356f2509bf0052e23e272cd9b7d1d9536d2d3e0cdbc805aa18898d7c09089 |
Close
Hashes for cdk_lambda_layer_curl-2.0.134-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec8769ca4680851119e8ff7bc0d68ffe16f8704fc3814a290fac6984852757b4 |
|
MD5 | dfea11b63416bd529a4d7c43bc34aab9 |
|
BLAKE2b-256 | 6fbb547c692ef29c14987935064c59e1715b49166870df07e563c152c38a946c |