Skip to content

/AWS1/CL_RDS=>SWITCHOVERBLUEGREENDEPLOYM00()

About SwitchoverBlueGreenDeployment

Switches over a blue/green deployment.

Before you switch over, production traffic is routed to the databases in the blue environment. After you switch over, production traffic is routed to the databases in the green environment.

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.

Method Signature

IMPORTING

Required arguments:

IV_BLUEGREENDEPLOYMENTID TYPE /AWS1/RDSBLUEGREENDEPLOYMENTID /AWS1/RDSBLUEGREENDEPLOYMENTID

The unique identifier of the blue/green deployment.

Constraints:

  • Must match an existing blue/green deployment identifier.

Optional arguments:

IV_SWITCHOVERTIMEOUT TYPE /AWS1/RDSSWITCHOVERTIMEOUT /AWS1/RDSSWITCHOVERTIMEOUT

The amount of time, in seconds, for the switchover to complete.

Default: 300

If the switchover takes longer than the specified duration, then any changes are rolled back, and no changes are made to the environments.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_RDSSWITCHOVERBLUEGR01 /AWS1/CL_RDSSWITCHOVERBLUEGR01