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.198.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 886ac1bf92605d17c885272fb46bd8564cad0b2637a054c6235d0770585f6206 |
|
MD5 | 6994f01ff371b4a4e27b72ac6bed38b1 |
|
BLAKE2b-256 | 9e760efec20b94c1dd6b7c11db52b7ed88bdd7946b0459f50c343982ae79387a |
Close
Hashes for cdk_lambda_layer_curl-1.0.198-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6309291e01a3cfa9d4f57707e1f7c59993529694e093ad310cedf08078102eea |
|
MD5 | 769c76543ac55287070b166e5f4bd085 |
|
BLAKE2b-256 | 6fafe0b6b0a53d16a9babe04725dd2ec5b8e03ffd5ffea0ed49b048c478ff8a4 |