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.653.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e51e8bcbcc503fd60100e67a252edd091168dfaf06c43b3909656170564b1be0 |
|
MD5 | d76416f65a1a49238fbbb75864b67c28 |
|
BLAKE2b-256 | 8bb635306ef9b64c9671f36e6f30d587042a739c8aadd84adf6b948bd829c71e |
Close
Hashes for cdk_lambda_layer_curl-2.0.653-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59c9b36894f3bf7d79045e3dc5ba4879db10074fd2ed282ea239745c2a93ce5f |
|
MD5 | ab3f5e5e8f6bea51cc9c37c3e696602c |
|
BLAKE2b-256 | f0d01f4ebb18865e0d7d42750e989200845a0493fefc02fa5b556b786eaec324 |