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.200.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da580ce5562c3fc15d3946b0bb2668d8d2494c5cb70ab66d3b6fd580f141a59c |
|
MD5 | 7afc8a30c1bee1335a736cee4c6b513d |
|
BLAKE2b-256 | 520b8468a485da85426878f6bae154db7f45a3ee43cc013c30e4d05c15c755ae |
Close
Hashes for cdk_lambda_layer_curl-1.0.200-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e03ffd6e12c634d9ea3edcba0c4cda4c978c5c77b9ff0a1d117c549c2f8e708c |
|
MD5 | a60bc98ebf2a86c10d4ee38b5b6d7350 |
|
BLAKE2b-256 | d46c39ff1e721ea8536c9b40a8de5f676a045feaa16a379a119fd182c7fdecd0 |