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.545.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa00fb90e66954891a33e3557e4bcf3eef95b24dee41f362c541ab0e26655d7e |
|
MD5 | b7352f547f8a960604a44d3b0f77c438 |
|
BLAKE2b-256 | d27f1dba3c2532055b0fe7a8d03986073cf1f29b98d5296ba28e1b2c371eb17c |
Close
Hashes for cdk_lambda_layer_curl-1.0.545-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc1c89fcddc226aeb3ba0061981404aad2c083ef0bbd79caa39abfafdb0fbf12 |
|
MD5 | f430baf18e6de994146b67a3ade3d7b9 |
|
BLAKE2b-256 | ea1a9152de93d136f40876c3fdbb01a0e54d9060f7f39492edfddb7d4a2f84b8 |