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.421.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19665f34685bb545c3d922df65a4eda687f38743453df772f1247c18d579a9f3 |
|
MD5 | 862561f83e3f8fc22561472da9db0901 |
|
BLAKE2b-256 | 9b8c8b8d93b0d77f119429dd1af468c831eb4806d24585f9fb317852e0c47e38 |
Close
Hashes for cdk_lambda_layer_curl-1.0.421-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3365acbefde2b586da2331a2466bbde86e3bdbaf971bb956aedd25dc91433233 |
|
MD5 | 4fed467c4b70e8807bc11293ccc9e54e |
|
BLAKE2b-256 | ebdf944ef46132588a92923843f56a23700e30f8357f6acb2352f24e89d0408f |