Skip to content

Switchover Blue Green Deployment

rds_switchover_blue_green_deployment R Documentation

Switches over a blue/green deployment

Description

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.

Usage

rds_switchover_blue_green_deployment(BlueGreenDeploymentIdentifier,
  SwitchoverTimeout)

Arguments

BlueGreenDeploymentIdentifier

[required] The unique identifier of the blue/green deployment.

Constraints:

  • Must match an existing blue/green deployment identifier.

SwitchoverTimeout

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.

Value

A list with the following syntax:

list(
  BlueGreenDeployment = list(
    BlueGreenDeploymentIdentifier = "string",
    BlueGreenDeploymentName = "string",
    Source = "string",
    Target = "string",
    SwitchoverDetails = list(
      list(
        SourceMember = "string",
        TargetMember = "string",
        Status = "string"
      )
    ),
    Tasks = list(
      list(
        Name = "string",
        Status = "string"
      )
    ),
    Status = "string",
    StatusDetails = "string",
    CreateTime = as.POSIXct(
      "2015-01-01"
    ),
    DeleteTime = as.POSIXct(
      "2015-01-01"
    ),
    TagList = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$switchover_blue_green_deployment(
  BlueGreenDeploymentIdentifier = "string",
  SwitchoverTimeout = 123
)