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-2.0.591.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6069d58b9b90148ca72bfeaa832f131931537d6abc0e8490016ffcef77468b0 |
|
MD5 | 840c49932bb9cc451e9ca5fb45b13556 |
|
BLAKE2b-256 | 368f34058d9419b3ab6e07d72438c97e9ac5ef74a4183735cd504cf5ebfcf0aa |
Close
Hashes for cdk_lambda_layer_curl-2.0.591-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 496f00df094081fae0e5da26d9125301a3205ab6a134fd1e555249742ad01f51 |
|
MD5 | afbd5f162cda07e52c201798cce524d1 |
|
BLAKE2b-256 | 0828cf83e92da1aa8aff4f4599fc81d9ecc5a2919e4b050a24a9dd239cc5ed0f |