For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a907b2359d2c9e7d9c396be6106b95e0e6529752896f715fb54f8937d9ac529 |
|
MD5 | 7f61c0bc3edb68cdec6ed1f5455497fa |
|
BLAKE2b-256 | 7124863984b07f63cc0fe89aba9628a23f0871fc7180099ff32e7efd3903f125 |
Close
Hashes for cdk_lambda_layer_curl-1.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 505b02f770a9dcb11221055367a161b78c12a5fd12c0b9edee0df3b50d202fd3 |
|
MD5 | ec65798936c98fa793e38bdd91ad861e |
|
BLAKE2b-256 | 80f65798b67d42fe70a8d2b9abecd344d8102fe4e6f95f685493506b043d6fbf |