Skip to content

Creates a step in a Recovery Plan

Description

Creates a step in a Recovery Plan. A step is either SERVER type (servers to recover in parallel) or WAIT type (timed pause between steps).

Usage

drs_create_recovery_plan_step(recoveryPlanArn, stepName, stepOrder,
  configuration, clientToken)

Arguments

  • recoveryPlanArn

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

  • stepName

    [required] The name of a Recovery Plan Step.

  • stepOrder

    The order of a step within a Recovery Plan (1-based).

  • configuration

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

  • clientToken

    A unique string provided to ensure request idempotency.

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$create_recovery_plan_step(
  recoveryPlanArn = "string",
  stepName = "string",
  stepOrder = 123,
  configuration = list(
    serverStepConfiguration = list(
      servers = list(
        list(
          serverArn = "string",
          impactLevel = "CRITICAL"|"OPTIONAL"
        )
      )
    ),
    waitStepConfiguration = list(
      waitDurationMinutes = 123
    )
  ),
  clientToken = "string"
)