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.521.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 816e24889091e734b611a2270056fee52c8911a388ff608432c64adec428e744 |
|
MD5 | 6912dac2c5207885242ab5c129f4417b |
|
BLAKE2b-256 | c75c418804aee90612de5f60666bc92d1127b1e2f4d574c01b071c9d80dbca46 |
Close
Hashes for cdk_lambda_layer_curl-2.0.521-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f16ec5f9311fe0e47c3fe80638c07895d05c49316f8cd9a6254bf118efeed62e |
|
MD5 | 05a72f36f3d7f9902c3b847d0bded099 |
|
BLAKE2b-256 | be7e5f6654969a13ed7c771e64ebe155eb3fdcc7e00a9282293bdfc6298fc4d6 |