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-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ab29ea3affc61a46c7b4ad4ed728520609d6b03ab6968376603ecccff82a24a |
|
MD5 | 5bf670a62020ff47169fec640c812666 |
|
BLAKE2b-256 | dfbff82e59721116af3d52e314590ec6d15c3e9a6c14ee88907dca54eff4538b |
Close
Hashes for cdk_lambda_layer_curl-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 665a500dc4be67e97567641fbf47174938e683518560396ff1729d8832e351ed |
|
MD5 | 0dfd27d250f26ce256001f9ee0cc7425 |
|
BLAKE2b-256 | 7af2e5088dbf93efab885c1f06c0073ef05eb9075014db85791bf4185d9f01ab |