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.236.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9c0e458a2c737ea9fa7111e24cb9b047ff8b3e9781e0a42acad25f2326644d7 |
|
MD5 | 38463e1c66436c90be95704b399b4c01 |
|
BLAKE2b-256 | 37800e54c972ef2c8cb2707c1d5a77badc7578ea5770475ac2dfab13600347bb |
Close
Hashes for cdk_lambda_layer_curl-1.0.236-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e06ed39ae0aab76844cda419e82a01106554611b2485e8725634e607ac9888d |
|
MD5 | c80cb601156783a95a42cd294d3de929 |
|
BLAKE2b-256 | e0c99d3db9bdeeed7dd159daa0e984fab0bb5c241046a037f7f3243e590aff17 |