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.225.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12bb9558d6cc9c094b748a88da716ef9bc814de5290f624751ed69a14d505779 |
|
MD5 | 3b5c13cb716d04ffa0269ef4ff179912 |
|
BLAKE2b-256 | cd611752763b2399cb54096b6a5078d28ecd9eec51fe65403107db471bb50985 |
Close
Hashes for cdk_lambda_layer_curl-1.0.225-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48e5e0315bab5280639f1580ed7c2da7cb7793fdb96b4e83aa1a398fbff2216e |
|
MD5 | f074e88194f3c1a3b9e9180907510078 |
|
BLAKE2b-256 | e130eb48996a9e5249c5d2f57128e2deea03733994b971fe11d961ebfdbcefef |