Skip to content

Updates a Recovery Plan step's name or configuration

Description

Updates a Recovery Plan step's name or configuration. Step type is immutable.

Usage

drs_update_recovery_plan_step(recoveryPlanStepArn, stepName,
  configuration)

Arguments

  • recoveryPlanStepArn

    [required] The ARN of the Recovery Plan step to update.

  • stepName

    The name of a Recovery Plan Step.

  • configuration

    Type-specific configuration for a recovery plan step. Exactly one member must be set.

Value

A list with the following syntax:

list(
  recoveryPlanStep = 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$update_recovery_plan_step(
  recoveryPlanStepArn = "string",
  stepName = "string",
  configuration = list(
    serverStepConfiguration = list(
      servers = list(
        list(
          serverArn = "string",
          impactLevel = "CRITICAL"|"OPTIONAL"
        )
      )
    ),
    waitStepConfiguration = list(
      waitDurationMinutes = 123
    )
  )
)