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.666.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 301caef8dc9843938f1109dbbb1203c25f6d5a5cf5adf4cc16c468b406e8f033 |
|
MD5 | 31173057bf7b638b0dd489c3a9ba60ac |
|
BLAKE2b-256 | ec31b3d1a57ffd72463837b47ea51884383dac03cccb9b62bd420eb5d2c866e3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.666-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc54dc629da6b074361a8b806453c56211ac400d349c9df697d40b7e31b44598 |
|
MD5 | 4f80c1f8291a686b146f643cd254431a |
|
BLAKE2b-256 | ed9d00ee643f069f492abe581ec9daeb4ccb667f85505a4287e39c2918f95edd |