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.558.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82798268a11d7dcd4d0069f5cf8c8a347acdbe94d5723a88a1122fbb4ca0d6e5 |
|
MD5 | 47f5ceb82b3a52d157b474afb4747419 |
|
BLAKE2b-256 | ac4b410f0be20ea5e11ae194f0860b6aafacb5f393a88fa3b024faa9df36b4d0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.558-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1788de68104839f51530203db97f36707c7cb1ee84e66e5ec6498712267b0736 |
|
MD5 | 58db5f74143356211d68dbcbfe14ae72 |
|
BLAKE2b-256 | 8a795203613bc1713f43fe2589b8ef218a17ace3d2191c8fc2ded9c802f912c7 |