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.478.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52a89adb9a04eae5d6aebf87cc2e113e7b74ed16349e14617dcaa8dedaca4d23 |
|
MD5 | ca7fad46994e61a6ce6e56f457d78841 |
|
BLAKE2b-256 | d81d2527694c3f5ef97ce1c4709f640157d7132002f727acf0f50b4820a161a9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.478-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be06518fc8a563163199f12676df354c74c42f3358118adc6c62aa6fe3f9eaba |
|
MD5 | 5a8a44e1ba7f7240ba91378a91cce1b1 |
|
BLAKE2b-256 | 4fbec57044d4b41d992841118d569e9f05e6ba087ea6b33ac7bd914df4f1112e |