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.156.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 923aaf1471d5fb5c1208a3c2c0366733e721e710afec1b381f8f844002b653c3 |
|
MD5 | a54906db276b8313807083c61966f8ac |
|
BLAKE2b-256 | 3d48653117b7dbaa449dd9212d6a63f6f0ade1f559d8cd43eba69be0c9409fbe |
Close
Hashes for cdk_lambda_layer_curl-2.0.156-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6df282772b4765be531ec4fa4c7eafd13ebd5152fa43f22161162d30ad9463e6 |
|
MD5 | 26e582ca0b18bd31bb92a071e261c9f1 |
|
BLAKE2b-256 | 6a9c512ad7551a33b66fe3669b84f860bcea97b1a1bbb971cdfae871c5a974a8 |