BlueGreenDeployment¶
Structure Class¶
BlueGreenDeployment
dataclass
¶
Bases: _SerdeShape
Details about a blue/green deployment.
For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide.
Attributes¶
blue_green_deployment_identifier
class-attribute
instance-attribute
¶
blue_green_deployment_identifier: str | None = ...
The unique identifier of the blue/green deployment.
blue_green_deployment_name
class-attribute
instance-attribute
¶
blue_green_deployment_name: str | None = ...
The user-supplied name of the blue/green deployment.
create_time
class-attribute
instance-attribute
¶
create_time: datetime | None = ...
The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
delete_time
class-attribute
instance-attribute
¶
delete_time: datetime | None = ...
The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
source
class-attribute
instance-attribute
¶
source: str | None = ...
The source database for the blue/green deployment.
Before switchover, the source database is the production database in the blue environment.
status
class-attribute
instance-attribute
¶
status: str | None = ...
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
class-attribute
instance-attribute
¶
status_details: str | None = ...
Additional information about the status of the blue/green deployment.
switchover_details
class-attribute
instance-attribute
¶
switchover_details: list[SwitchoverDetail] | None = ...
The details about each source and target resource in the blue/green deployment.
tag_list
class-attribute
instance-attribute
¶
A list of tags.
For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide.
target
class-attribute
instance-attribute
¶
target: str | None = ...
The target database for the blue/green deployment.
Before switchover, the target database is the clone database in the green environment.
tasks
class-attribute
instance-attribute
¶
tasks: list[BlueGreenDeploymentTask] | None = ...
Either tasks to be performed or tasks that have been completed on the target database before switchover.