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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3334b8679bc77f7a461fac7f504256cf05ebcb6c5026b3c327b208f8b4ee8cdd |
|
MD5 | 367082f993f0fb5ee8d5e2311277916c |
|
BLAKE2b-256 | f9a439dd43ef92afcb6589523926ec83cca5123c555cea41ebcbcab13e6a02a6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bcb4aa18082f82cd7c46bc9a33a6cc553a61ae58ef84ef37bb97a37173fda3a |
|
MD5 | 8183216fc7b769b0645377697a95b8e7 |
|
BLAKE2b-256 | 106ee6ed3358bb9120fdfc14a9ab3eefe986f60c8499ba1aec3fdbb160f7851b |