runway.cfngin.status module

CFNgin statuses.

class runway.cfngin.status.Status(name: str, code: int, reason: Optional[str] = None)[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]

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.

class runway.cfngin.status.CompleteStatus(reason: Optional[str] = None)[source]

Bases: runway.cfngin.status.Status

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

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.

class runway.cfngin.status.FailedStatus(reason: Optional[str] = None)[source]

Bases: runway.cfngin.status.Status

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

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.

class runway.cfngin.status.PendingStatus(reason: Optional[str] = None)[source]

Bases: runway.cfngin.status.Status

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

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.

class runway.cfngin.status.SkippedStatus(reason: Optional[str] = None)[source]

Bases: runway.cfngin.status.Status

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

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.

class runway.cfngin.status.SubmittedStatus(reason: Optional[str] = None)[source]

Bases: runway.cfngin.status.Status

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

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.

class runway.cfngin.status.DidNotChangeStatus(reason: Optional[str] = None)[source]

Bases: runway.cfngin.status.SkippedStatus

Skipped status with a reason of ‘nochange’.

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.

class runway.cfngin.status.DoesNotExistInCloudFormation(reason: Optional[str] = None)[source]

Bases: runway.cfngin.status.SkippedStatus

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

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.

class runway.cfngin.status.NotSubmittedStatus(reason: Optional[str] = None)[source]

Bases: runway.cfngin.status.SkippedStatus

Skipped status with a reason of ‘disabled’.

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.

class runway.cfngin.status.NotUpdatedStatus(reason: Optional[str] = None)[source]

Bases: runway.cfngin.status.SkippedStatus

Skipped status with a reason of ‘locked’.

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.