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.532.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | be0c7196d6c3cb03658e5efe509aa6d358084445186b78385cff7da51ecaeb27 |
|
MD5 | 9426389ef86e901668abbc5d8ae919a3 |
|
BLAKE2b-256 | dcbe254e3774ce858cff8b34d311f01bf2a90e4cbe48b89655566fb12a23549f |
Close
Hashes for cdk_lambda_layer_curl-2.0.532-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91ba21f669059239eb0917a87c14d04997baf35cabcead9d7d1966445f790e95 |
|
MD5 | ffe87682b2104bbec276ea1e541b83b0 |
|
BLAKE2b-256 | a4c6e89cc973c4da0f6ff2c4084aa784e2faa1e97c72ba1cb0425d88a88a502b |