runway.cfngin.status module

CFNgin statuses.

class runway.cfngin.status.Status(name, code, reason=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 (str) – Name of the status.

  • code (int) – Status code.

  • reason (Optional[str]) – Reason for the status.

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

Bases: runway.cfngin.status.Status

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

Instantiate class.

Parameters

reason (Optional[str]) – Reason for the status.

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

Bases: runway.cfngin.status.Status

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

Instantiate class.

Parameters

reason (Optional[str]) – Reason for the status.

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

Bases: runway.cfngin.status.Status

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

Instantiate class.

Parameters

reason (Optional[str]) – Reason for the status.

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

Bases: runway.cfngin.status.Status

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

Instantiate class.

Parameters

reason (Optional[str]) – Reason for the status.

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

Bases: runway.cfngin.status.Status

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

Instantiate class.

Parameters

reason (Optional[str]) – Reason for the status.

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

Bases: runway.cfngin.status.SkippedStatus

Skipped status with a reason of ‘nochange’.

Instantiate class.

Parameters

reason (Optional[str]) – Reason for the status.

reason = 'nochange'
class runway.cfngin.status.NotSubmittedStatus(reason=None)[source]

Bases: runway.cfngin.status.SkippedStatus

Skipped status with a reason of ‘disabled’.

Instantiate class.

Parameters

reason (Optional[str]) – Reason for the status.

reason = 'disabled'
class runway.cfngin.status.NotUpdatedStatus(reason=None)[source]

Bases: runway.cfngin.status.SkippedStatus

Skipped status with a reason of ‘locked’.

Instantiate class.

Parameters

reason (Optional[str]) – Reason for the status.

reason = 'locked'
class runway.cfngin.status.StackDoesNotExist(reason=None)[source]

Bases: runway.cfngin.status.SkippedStatus

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

Instantiate class.

Parameters

reason (Optional[str]) – Reason for the status.

reason = 'does not exist in cloudformation'