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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f144b45364b706a61ab78d456668bb0353dd2690e7282101e5ea67d9b0d8b82 |
|
MD5 | 9fecc331c105bdf6d78d9bcd9d7de992 |
|
BLAKE2b-256 | e4846d64dd05498f43ac476d0eae2792173c8900f9964816ff985d739d7c9911 |
Close
Hashes for cdk_lambda_layer_curl-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e172e8bdd5db8a55fda0e7994939277063a49ec7b670ba4fafcb60a306f1691a |
|
MD5 | 95089f9ac80e8277dbe8823a262122f0 |
|
BLAKE2b-256 | 5b981dfb5b01ec42b012983d0dd49567b241b022804048c7eb6b2566b32df499 |