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.233.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a3840cd1891a616d6203f1385bf0a7b5c27ad8c9876a51b2df90f1485c62ce0 |
|
MD5 | 456265b6cee7b6b44bdd2008b5e25d0d |
|
BLAKE2b-256 | 0f51c5eca808f19625d426dcf7936eeec827a10d1742cf7a0bf86d571a658c5f |
Close
Hashes for cdk_lambda_layer_curl-2.0.233-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ed98f8edbbe338520f6206609c007e7165158f4e071b93e1ab5a1c21bb8de4a |
|
MD5 | 0c0aaf66e8890196411a90444a372467 |
|
BLAKE2b-256 | 7732544fa9e6e29e93a8dab1ac28a7c0c83e8e3db2c972a3e0598b4795aed63f |