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.562.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ef433cca7ebdb8925505aae56ede89759e9f681665e148d8b37af55c3f8fd59 |
|
MD5 | da7f65122861ed6a73509f74077524d7 |
|
BLAKE2b-256 | fb130ad9c431df4ff2a4cc2ccb406a54e370445da176bdfd9429c9da1b471f26 |
Close
Hashes for cdk_lambda_layer_curl-1.0.562-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5df05f1db3daead9d1714140260068b2342790bf5e3941570ef9d23e0202cbbe |
|
MD5 | edf03fc1a561c7abb10ab39f71a2c9b5 |
|
BLAKE2b-256 | 4dfbe3330eeabebfde2619c1ed540e6d2bb047d2c248ce9490abd110bc68eb02 |