Show / Hide Table of Contents

Class WaiterStateMachineProps

Initialization properties for the WaiterStateMachine construct.

Inheritance
object
WaiterStateMachineProps
Implements
IWaiterStateMachineProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CustomResources
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class WaiterStateMachineProps : IWaiterStateMachineProps
Syntax (vb)
Public Class WaiterStateMachineProps Implements IWaiterStateMachineProps
Remarks

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;
            using Amazon.CDK.AWS.Lambda;
            using Amazon.CDK.AWS.Logs;
            using Amazon.CDK.AWS.StepFunctions;
            using Amazon.CDK.CustomResources;

            Function function_;
            LogGroup logGroup;

            var waiterStateMachineProps = new WaiterStateMachineProps {
                BackoffRate = 123,
                Interval = Duration.Minutes(30),
                IsCompleteHandler = function_,
                MaxAttempts = 123,
                TimeoutHandler = function_,

                // the properties below are optional
                DisableLogging = false,
                LogOptions = new LogOptions {
                    Destination = logGroup,
                    IncludeExecutionData = false,
                    Level = LogLevel.OFF
                }
            };

Synopsis

Constructors

WaiterStateMachineProps()

Initialization properties for the WaiterStateMachine construct.

Properties

BackoffRate

Backoff between attempts.

DisableLogging

Whether logging for the state machine is disabled.

Interval

The interval to wait between attempts.

IsCompleteHandler

The main handler that notifies if the waiter to decide 'complete' or 'incomplete'.

LogOptions

Defines what execution history events are logged and where they are logged.

MaxAttempts

Number of attempts.

TimeoutHandler

The handler to call if the waiter times out and is incomplete.

Constructors

WaiterStateMachineProps()

Initialization properties for the WaiterStateMachine construct.

public WaiterStateMachineProps()
Remarks

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;
            using Amazon.CDK.AWS.Lambda;
            using Amazon.CDK.AWS.Logs;
            using Amazon.CDK.AWS.StepFunctions;
            using Amazon.CDK.CustomResources;

            Function function_;
            LogGroup logGroup;

            var waiterStateMachineProps = new WaiterStateMachineProps {
                BackoffRate = 123,
                Interval = Duration.Minutes(30),
                IsCompleteHandler = function_,
                MaxAttempts = 123,
                TimeoutHandler = function_,

                // the properties below are optional
                DisableLogging = false,
                LogOptions = new LogOptions {
                    Destination = logGroup,
                    IncludeExecutionData = false,
                    Level = LogLevel.OFF
                }
            };

Properties

BackoffRate

Backoff between attempts.

public double BackoffRate { get; set; }
Property Value

double

Remarks

ExampleMetadata: fixture=_generated

DisableLogging

Whether logging for the state machine is disabled.

public bool? DisableLogging { get; set; }
Property Value

bool?

Remarks

Default: - false

Interval

The interval to wait between attempts.

public Duration Interval { get; set; }
Property Value

Duration

Remarks

ExampleMetadata: fixture=_generated

IsCompleteHandler

The main handler that notifies if the waiter to decide 'complete' or 'incomplete'.

public IFunction IsCompleteHandler { get; set; }
Property Value

IFunction

Remarks

ExampleMetadata: fixture=_generated

LogOptions

Defines what execution history events are logged and where they are logged.

public ILogOptions? LogOptions { get; set; }
Property Value

ILogOptions

Remarks

Default: - A default log group will be created if logging is enabled.

MaxAttempts

Number of attempts.

public double MaxAttempts { get; set; }
Property Value

double

Remarks

ExampleMetadata: fixture=_generated

TimeoutHandler

The handler to call if the waiter times out and is incomplete.

public IFunction TimeoutHandler { get; set; }
Property Value

IFunction

Remarks

ExampleMetadata: fixture=_generated

Implements

IWaiterStateMachineProps
Back to top Generated by DocFX