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.552.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ea9dd25fd66b5b8760e67b3c606ad993fbfa767b6ef635dd6ad9a3df1cf4bc1 |
|
MD5 | 67cf296d3cd3caf2825d3475b8b7d776 |
|
BLAKE2b-256 | f86af0a45dba663346d5e5f47d44b6511d74231645aeee9ff4494f7300fec19b |
Close
Hashes for cdk_lambda_layer_curl-2.0.552-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f8aa9083b927c5dccd7681109a184b24fc3391f8733ff62e03ed9ec5603c997 |
|
MD5 | 0d5d07a6339876267386c0af580f70ec |
|
BLAKE2b-256 | ae5e86502e1a56af9f4eb9ef663954a8280891760ce766d453b3d0a094d53c8c |