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.130.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bad1220d9e70f76c9135462ead366b7d4f03ccd4a0c5e8b3a0e4855f57381e0 |
|
MD5 | 505c3ee8b6b935b8b510dd51efa3d6a2 |
|
BLAKE2b-256 | 65b65fa2436f26f46bb1bc6a277af05b27df4a3c3c72ae34e10a5a71e238774f |
Close
Hashes for cdk_lambda_layer_curl-1.0.130-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85a743ee20f76aaad0a3e8aa30842f84ab7ee144d4c49e02a4e0a105e49a6da5 |
|
MD5 | 3fecb518a9c71b8d17059531e92cfb4f |
|
BLAKE2b-256 | 747b1efc2ef3921445e315832d4cf8c590e5970ef388b615900ff8cad0ccd9a0 |