Class LambdaFunctionProviderProps
(experimental) Properties for a lambda function provider.
Implements
Inherited Members
Namespace: Amazon.CDK.IntegTests.Alpha
Assembly: Amazon.CDK.IntegTests.Alpha.dll
Syntax (csharp)
public class LambdaFunctionProviderProps : ILambdaFunctionProviderProps
Syntax (vb)
Public Class LambdaFunctionProviderProps 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
LambdaFunctionProviderProps() | (experimental) Properties for a lambda function provider. |
Properties
Handler | (experimental) The handler to use for the lambda function. |
LogRetention | (experimental) How long, in days, the log contents will be retained. |
Constructors
LambdaFunctionProviderProps()
(experimental) Properties for a lambda function provider.
public LambdaFunctionProviderProps()
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
};
Properties
Handler
(experimental) The handler to use for the lambda function.
public string? Handler { get; set; }
Property Value
Remarks
Default: index.handler
Stability: Experimental
LogRetention
(experimental) How long, in days, the log contents will be retained.
public RetentionDays? LogRetention { get; set; }
Property Value
Remarks
Default: - no retention days specified
Stability: Experimental