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.219.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 919a7fb4459536c8f08bb3e5d88becc8d9dc0e2dc93ef7273e72f3437fb54518 |
|
MD5 | 3cde52e83a6e6128631333888efec9ef |
|
BLAKE2b-256 | cfff2bcc94e6c603f07ac0f36917c97c244aec1fad17710c8a680a740e8400bf |
Close
Hashes for cdk_lambda_layer_curl-1.0.219-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be23e4f210b7bad8e7c141cfc9df4bfc09df6e55c0f7b28f7df2bcb3fc6603c5 |
|
MD5 | f7cfb037e25664a8cafd113f09f9bba1 |
|
BLAKE2b-256 | dbb6e421cb7db04aad701a1ae2a2b4c07f8efc1d9021eb4cda60831b270897dc |