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.460.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b0ff04bece75a10555b61ff149e676055a621d33f9b312c67d2ea3c06262db5 |
|
MD5 | ea745fed4515af25256ebf8e7818301d |
|
BLAKE2b-256 | 10be2ddcc4f7199c3c62ff3587ce5a5b798c47cf9f74017838ee6939baf10152 |
Close
Hashes for cdk_lambda_layer_curl-1.0.460-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94a2984dbd447edec4bf4cf6dc83ab31d23d0eed1ff448410aa59e8e4121c8e2 |
|
MD5 | 48208a6489b5bd5c2385dd446c0b5b39 |
|
BLAKE2b-256 | fb591b61b30565c242ec746e573279df9a28f5a2cf9ae171fca0077483694a86 |