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.687.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcf49fa3f705e5541b4d70f5acfaee4830444e5d7e4d1dc2470c5c366268ed35 |
|
MD5 | 52e32d582d446e0391482f4082114032 |
|
BLAKE2b-256 | ed9b4fb5e13adc50abf93b3fb046d8c6a5591c7e621814077aa2378c47b141a5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.687-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91c1870193ea2e2b22e7aeab5ec2d770ef216477bce970763317a398c864bdc7 |
|
MD5 | 11e8f3132e1227bf256e4990d169eff5 |
|
BLAKE2b-256 | 8b9f5cbdb8fced0fa6da8fd61c7ae3fe07c024b683aa26c5fd1cfd0496726794 |