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.66.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 388f0c4d183a29eab128d7d9aef679c5a9574da5281f20b8b62ec16e83a9714e |
|
MD5 | 918dbf79a5d7c194112cb3cde6cd6584 |
|
BLAKE2b-256 | 7368da936b5085b399d33c419a4dfd70a1ee81942c846426f498237d7e4a2444 |
Close
Hashes for cdk_lambda_layer_curl-2.0.66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 035d4a9f4a0fd06f2edf640bdc4d0666d0779b2ba918d810ee7cd8fdcdd08f59 |
|
MD5 | 26a82509bb0f1ac7ea609a3ba4e1dc4c |
|
BLAKE2b-256 | 491369c85723e65a15629c3c95029f2ee4947bc5d24b2092883b25eab0b32a37 |