Class LambdaFunctionProviderProps
(experimental) Properties for a lambda function provider.
Inheritance
Implements
Namespace: Amazon.CDK.IntegTests.Alpha
Assembly: Amazon.CDK.IntegTests.Alpha.dll
Syntax (csharp)
public class LambdaFunctionProviderProps : Object, ILambdaFunctionProviderProps
Syntax (vb)
Public Class LambdaFunctionProviderProps
Inherits Object
Implements ILambdaFunctionProviderProps
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.IntegTests.Alpha;
using Amazon.CDK.AWS.Logs;
var lambdaFunctionProviderProps = new LambdaFunctionProviderProps {
Handler = "handler",
LogRetention = RetentionDays.ONE_DAY
};
Synopsis
Constructors
Lambda |
Properties
Handler | (experimental) The handler to use for the lambda function. |
Log |
(experimental) How long, in days, the log contents will be retained. |
Constructors
LambdaFunctionProviderProps()
public LambdaFunctionProviderProps()
Properties
Handler
(experimental) The handler to use for the lambda function.
public string Handler { get; set; }
Property Value
System.
Remarks
Default: index.handler
Stability: Experimental
LogRetention
(experimental) How long, in days, the log contents will be retained.
public Nullable<RetentionDays> LogRetention { get; set; }
Property Value
System.
Remarks
Default: - no retention days specified
Stability: Experimental