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.394.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b61f8ebb2c3a325ec6fa33ac81667f5a44ce7029c3324aa07bccd344102d8455 |
|
MD5 | 87bfc0d29008ad6d0e72fb4fab7e1633 |
|
BLAKE2b-256 | 6535b08053047a3b087e2fae1e265076ee4c47951074f5aedf9edb0bcf946996 |
Close
Hashes for cdk_lambda_layer_curl-1.0.394-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4454343897bbc567699ad1947c4f9b411f03e4aeaa544c4feddb58ea1467c73a |
|
MD5 | 33879ab9f0f26d2c84007a71eda9db18 |
|
BLAKE2b-256 | 14534083ee21eb207c0e366db7b65f38fa35d6254364fdfcfd34a6f8d0a4c9d2 |