Skip to content

Reorders steps in a Recovery Plan

Description

Reorders steps in a Recovery Plan. Accepts a complete ordered list of step ARNs.

Usage

drs_reorder_recovery_plan_steps(recoveryPlanArn, orderedStepArns)

Arguments

  • recoveryPlanArn

    [required] The ARN of the Recovery Plan.

  • orderedStepArns

    [required] Ordered list of all step ARNs representing the desired sequence.

Value

A list with the following syntax:

list(
  recoveryPlanSteps = list(
    list(
      recoveryPlanStepArn = "string",
      stepOrder = 123,
      stepName = "string",
      configuration = list(
        serverStepConfiguration = list(
          servers = list(
            list(
              serverArn = "string",
              impactLevel = "CRITICAL"|"OPTIONAL"
            )
          )
        ),
        waitStepConfiguration = list(
          waitDurationMinutes = 123
        )
      ),
      createdAt = "string",
      updatedAt = "string"
    )
  )
)

Request syntax

svc$reorder_recovery_plan_steps(
  recoveryPlanArn = "string",
  orderedStepArns = list(
    "string"
  )
)