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-2.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0db4fc7c1b7367c72fd110038679a3b9e34c3e9b899aa8d9734d1f8f37f305a2 |
|
MD5 | b2afecd66e06d75886c76355124d3c81 |
|
BLAKE2b-256 | d711517c6d081d9a6c22d9b08c97f6ecc27d4e804dd91c9fa88600bacbad3330 |
Close
Hashes for cdk_lambda_layer_curl-2.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e41cd57064bdca741a737fd1209cdd399d2c1a6f14f6f02fc4a496263430c98d |
|
MD5 | 740ee4d3f3c7f4199f3318c244e50b6f |
|
BLAKE2b-256 | d8a174964ecc87a5fa7207cbe8ff98774502460dfa8eefb141117d44cd1a3f83 |