Skip to content

BlueGreenDeployment

Source code in docs_src/capo_rds/types/blue_green_deployment.py
class BlueGreenDeployment(TypedDict, closed=True):
    blue_green_deployment_identifier: NotRequired[
        "capo_rds.types.blue_green_deployment_identifier.BlueGreenDeploymentIdentifier"
    ]
    """<p>The unique identifier of the blue/green deployment.</p>"""
    blue_green_deployment_name: NotRequired[
        "capo_rds.types.blue_green_deployment_name.BlueGreenDeploymentName"
    ]
    """<p>The user-supplied name of the blue/green deployment.</p>"""
    source: NotRequired["capo_rds.types.database_arn.DatabaseArn"]
    """<p>The source database for the blue/green deployment.</p> <p>Before switchover, the source database is the production database in the blue environment.</p>"""
    target: NotRequired["capo_rds.types.database_arn.DatabaseArn"]
    """<p>The target database for the blue/green deployment.</p> <p>Before switchover, the target database is the clone database in the green environment.</p>"""
    switchover_details: NotRequired[
        "capo_rds.types.switchover_detail_list.SwitchoverDetailList"
    ]
    """<p>The details about each source and target resource in the blue/green deployment.</p>"""
    tasks: NotRequired[
        "capo_rds.types.blue_green_deployment_task_list.BlueGreenDeploymentTaskList"
    ]
    """<p>Either tasks to be performed or tasks that have been completed on the target database before switchover.</p>"""
    status: NotRequired[
        "capo_rds.types.blue_green_deployment_status.BlueGreenDeploymentStatus"
    ]
    """<p>The status of the blue/green deployment.</p> <p>Valid Values:</p> <ul> <li> <p> <code>PROVISIONING</code> - Resources are being created in the green environment.</p> </li> <li> <p> <code>AVAILABLE</code> - Resources are available in the green environment.</p> </li> <li> <p> <code>SWITCHOVER_IN_PROGRESS</code> - The deployment is being switched from the blue environment to the green environment.</p> </li> <li> <p> <code>SWITCHOVER_COMPLETED</code> - Switchover from the blue environment to the green environment is complete.</p> </li> <li> <p> <code>INVALID_CONFIGURATION</code> - Resources in the green environment are invalid, so switchover isn't possible.</p> </li> <li> <p> <code>SWITCHOVER_FAILED</code> - Switchover was attempted but failed.</p> </li> <li> <p> <code>DELETING</code> - The blue/green deployment is being deleted.</p> </li> </ul>"""
    status_details: NotRequired[
        "capo_rds.types.blue_green_deployment_status_details.BlueGreenDeploymentStatusDetails"
    ]
    """<p>Additional information about the status of the blue/green deployment.</p>"""
    create_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).</p>"""
    delete_time: NotRequired["capo_rds.types.t_stamp.TStamp"]
    """<p>The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).</p>"""
    tag_list: NotRequired["capo_rds.types.tag_list.TagList"]

blue_green_deployment_identifier instance-attribute

blue_green_deployment_identifier: NotRequired[BlueGreenDeploymentIdentifier]

The unique identifier of the blue/green deployment.

blue_green_deployment_name instance-attribute

blue_green_deployment_name: NotRequired[BlueGreenDeploymentName]

The user-supplied name of the blue/green deployment.

create_time instance-attribute

create_time: NotRequired[TStamp]

The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).

delete_time instance-attribute

delete_time: NotRequired[TStamp]

The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).

source instance-attribute

source: NotRequired[DatabaseArn]

The source database for the blue/green deployment.

Before switchover, the source database is the production database in the blue environment.

status instance-attribute

status: NotRequired[BlueGreenDeploymentStatus]

The status of the blue/green deployment.

Valid Values:

  • PROVISIONING - Resources are being created in the green environment.

  • AVAILABLE - Resources are available in the green environment.

  • SWITCHOVER_IN_PROGRESS - The deployment is being switched from the blue environment to the green environment.

  • SWITCHOVER_COMPLETED - Switchover from the blue environment to the green environment is complete.

  • INVALID_CONFIGURATION - Resources in the green environment are invalid, so switchover isn't possible.

  • SWITCHOVER_FAILED - Switchover was attempted but failed.

  • DELETING - The blue/green deployment is being deleted.

status_details instance-attribute

status_details: NotRequired[BlueGreenDeploymentStatusDetails]

Additional information about the status of the blue/green deployment.

switchover_details instance-attribute

switchover_details: NotRequired[SwitchoverDetailList]

The details about each source and target resource in the blue/green deployment.

tag_list instance-attribute

tag_list: NotRequired[TagList]

target instance-attribute

target: NotRequired[DatabaseArn]

The target database for the blue/green deployment.

Before switchover, the target database is the clone database in the green environment.

tasks instance-attribute

tasks: NotRequired[BlueGreenDeploymentTaskList]

Either tasks to be performed or tasks that have been completed on the target database before switchover.