Skip to content

SwitchoverDetail

Source code in docs_src/capo_rds/types/switchover_detail.py
class SwitchoverDetail(TypedDict, closed=True):
    source_member: NotRequired["capo_rds.types.database_arn.DatabaseArn"]
    """<p>The Amazon Resource Name (ARN) of a resource in the blue environment.</p>"""
    target_member: NotRequired["capo_rds.types.database_arn.DatabaseArn"]
    """<p>The Amazon Resource Name (ARN) of a resource in the green environment.</p>"""
    status: NotRequired[
        "capo_rds.types.switchover_detail_status.SwitchoverDetailStatus"
    ]
    """<p>The switchover status of a resource in a blue/green deployment.</p> <p>Values:</p> <ul> <li> <p> <code>PROVISIONING</code> - The resource is being prepared to switch over.</p> </li> <li> <p> <code>AVAILABLE</code> - The resource is ready to switch over.</p> </li> <li> <p> <code>SWITCHOVER_IN_PROGRESS</code> - The resource is being switched over.</p> </li> <li> <p> <code>SWITCHOVER_COMPLETED</code> - The resource has been switched over.</p> </li> <li> <p> <code>SWITCHOVER_FAILED</code> - The resource attempted to switch over but failed.</p> </li> <li> <p> <code>MISSING_SOURCE</code> - The source resource has been deleted.</p> </li> <li> <p> <code>MISSING_TARGET</code> - The target resource has been deleted.</p> </li> </ul>"""

source_member instance-attribute

source_member: NotRequired[DatabaseArn]

The Amazon Resource Name (ARN) of a resource in the blue environment.

status instance-attribute

status: NotRequired[SwitchoverDetailStatus]

The switchover status of a resource in a blue/green deployment.

Values:

  • PROVISIONING - The resource is being prepared to switch over.

  • AVAILABLE - The resource is ready to switch over.

  • SWITCHOVER_IN_PROGRESS - The resource is being switched over.

  • SWITCHOVER_COMPLETED - The resource has been switched over.

  • SWITCHOVER_FAILED - The resource attempted to switch over but failed.

  • MISSING_SOURCE - The source resource has been deleted.

  • MISSING_TARGET - The target resource has been deleted.

target_member instance-attribute

target_member: NotRequired[DatabaseArn]

The Amazon Resource Name (ARN) of a resource in the green environment.