runway.cfngin.status module

CFNgin statuses.

class runway.cfngin.status.Status[source]

Bases: object

CFNgin status base class.

name

Name of the status.

Type

str

code

Status code.

Type

int

reason

Reason for the status.

Type

Optional[str]

__init__(name: str, code: int, reason: Optional[str] = None) None[source]

Instantiate class.

Parameters
  • name – Name of the status.

  • code – Status code.

  • reason – Reason for the status.

__eq__(other: Any) bool[source]

Compare if self is equal to another object.

__ne__(other: Any) bool[source]

Compare if self is not equal to another object.

__lt__(other: Any) bool[source]

Compare if self is less than another object.

__gt__(other: Any) bool[source]

Compare if self is greater than another object.

__le__(other: Any) bool[source]

Compare if self is less than or equal to another object.

__ge__(other: Any) bool[source]

Compare if self is greater than equal to another object.

__new__(**kwargs)
class runway.cfngin.status.CompleteStatus[source]

Bases: runway.cfngin.status.Status

Status name of ‘complete’ with code of ‘2’.

__init__(reason: Optional[str] = None) None[source]

Instantiate class.

Parameters

reason – Reason for the status.

__eq__(other: Any) bool

Compare if self is equal to another object.

__ge__(other: Any) bool

Compare if self is greater than equal to another object.

__gt__(other: Any) bool

Compare if self is greater than another object.

__le__(other: Any) bool

Compare if self is less than or equal to another object.

__lt__(other: Any) bool

Compare if self is less than another object.

__ne__(other: Any) bool

Compare if self is not equal to another object.

__new__(**kwargs)
class runway.cfngin.status.FailedStatus[source]

Bases: runway.cfngin.status.Status

Status name of ‘failed’ with code of ‘4’.

__init__(reason: Optional[str] = None) None[source]

Instantiate class.

Parameters

reason – Reason for the status.

__eq__(other: Any) bool

Compare if self is equal to another object.

__ge__(other: Any) bool

Compare if self is greater than equal to another object.

__gt__(other: Any) bool

Compare if self is greater than another object.

__le__(other: Any) bool

Compare if self is less than or equal to another object.

__lt__(other: Any) bool

Compare if self is less than another object.

__ne__(other: Any) bool

Compare if self is not equal to another object.

__new__(**kwargs)
class runway.cfngin.status.PendingStatus[source]

Bases: runway.cfngin.status.Status

Status name of ‘pending’ with code of ‘0’.

__init__(reason: Optional[str] = None) None[source]

Instantiate class.

Parameters

reason – Reason for the status.

__eq__(other: Any) bool

Compare if self is equal to another object.

__ge__(other: Any) bool

Compare if self is greater than equal to another object.

__gt__(other: Any) bool

Compare if self is greater than another object.

__le__(other: Any) bool

Compare if self is less than or equal to another object.

__lt__(other: Any) bool

Compare if self is less than another object.

__ne__(other: Any) bool

Compare if self is not equal to another object.

__new__(**kwargs)
class runway.cfngin.status.SkippedStatus[source]

Bases: runway.cfngin.status.Status

Status name of ‘skipped’ with code of ‘3’.

__init__(reason: Optional[str] = None) None[source]

Instantiate class.

Parameters

reason – Reason for the status.

__eq__(other: Any) bool

Compare if self is equal to another object.

__ge__(other: Any) bool

Compare if self is greater than equal to another object.

__gt__(other: Any) bool

Compare if self is greater than another object.

__le__(other: Any) bool

Compare if self is less than or equal to another object.

__lt__(other: Any) bool

Compare if self is less than another object.

__ne__(other: Any) bool

Compare if self is not equal to another object.

__new__(**kwargs)
class runway.cfngin.status.SubmittedStatus[source]

Bases: runway.cfngin.status.Status

Status name of ‘submitted’ with code of ‘1’.

__init__(reason: Optional[str] = None) None[source]

Instantiate class.

Parameters

reason – Reason for the status.

__eq__(other: Any) bool

Compare if self is equal to another object.

__ge__(other: Any) bool

Compare if self is greater than equal to another object.

__gt__(other: Any) bool

Compare if self is greater than another object.

__le__(other: Any) bool

Compare if self is less than or equal to another object.

__lt__(other: Any) bool

Compare if self is less than another object.

__ne__(other: Any) bool

Compare if self is not equal to another object.

__new__(**kwargs)
class runway.cfngin.status.DidNotChangeStatus[source]

Bases: runway.cfngin.status.SkippedStatus

Skipped status with a reason of ‘nochange’.

__eq__(other: Any) bool

Compare if self is equal to another object.

__ge__(other: Any) bool

Compare if self is greater than equal to another object.

__gt__(other: Any) bool

Compare if self is greater than another object.

__init__(reason: Optional[str] = None) None

Instantiate class.

Parameters

reason – Reason for the status.

__le__(other: Any) bool

Compare if self is less than or equal to another object.

__lt__(other: Any) bool

Compare if self is less than another object.

__ne__(other: Any) bool

Compare if self is not equal to another object.

__new__(**kwargs)
class runway.cfngin.status.DoesNotExistInCloudFormation[source]

Bases: runway.cfngin.status.SkippedStatus

Skipped status with a reason of ‘does not exist in cloudformation’.

__eq__(other: Any) bool

Compare if self is equal to another object.

__ge__(other: Any) bool

Compare if self is greater than equal to another object.

__gt__(other: Any) bool

Compare if self is greater than another object.

__init__(reason: Optional[str] = None) None

Instantiate class.

Parameters

reason – Reason for the status.

__le__(other: Any) bool

Compare if self is less than or equal to another object.

__lt__(other: Any) bool

Compare if self is less than another object.

__ne__(other: Any) bool

Compare if self is not equal to another object.

__new__(**kwargs)
class runway.cfngin.status.NotSubmittedStatus[source]

Bases: runway.cfngin.status.SkippedStatus

Skipped status with a reason of ‘disabled’.

__eq__(other: Any) bool

Compare if self is equal to another object.

__ge__(other: Any) bool

Compare if self is greater than equal to another object.

__gt__(other: Any) bool

Compare if self is greater than another object.

__init__(reason: Optional[str] = None) None

Instantiate class.

Parameters

reason – Reason for the status.

__le__(other: Any) bool

Compare if self is less than or equal to another object.

__lt__(other: Any) bool

Compare if self is less than another object.

__ne__(other: Any) bool

Compare if self is not equal to another object.

__new__(**kwargs)
class runway.cfngin.status.NotUpdatedStatus[source]

Bases: runway.cfngin.status.SkippedStatus

Skipped status with a reason of ‘locked’.

__eq__(other: Any) bool

Compare if self is equal to another object.

__ge__(other: Any) bool

Compare if self is greater than equal to another object.

__gt__(other: Any) bool

Compare if self is greater than another object.

__init__(reason: Optional[str] = None) None

Instantiate class.

Parameters

reason – Reason for the status.

__le__(other: Any) bool

Compare if self is less than or equal to another object.

__lt__(other: Any) bool

Compare if self is less than another object.

__ne__(other: Any) bool

Compare if self is not equal to another object.

__new__(**kwargs)