Class for creating a rule.

Super class

stepfunctions::BaseRule -> Rule

Methods

Public methods

Inherited methods

Method new()

Initialize Rule class

Usage

Rule$new(variable, operator, value)

Arguments

variable

(str): Path to the variable to compare.

operator

(str): Comparison operator to be applied.

value

(type depends on *operator*): Constant value or Path to compare `variable` against.


Method to_list()

Convert class to list ready to be translated for Amazon States Language https://states-language.net/spec.html.

Usage

Rule$to_list()


Method format()

class formatting

Usage

Rule$format()


Method clone()

The objects of this class are cloneable with this method.

Usage

Rule$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.