Skip to content

Get Managed Resource

arczonalshift_get_managed_resource R Documentation

Get information about a resource that's been registered for zonal shifts with Amazon Application Recovery Controller in this Amazon Web Services Region

Description

Get information about a resource that's been registered for zonal shifts with Amazon Application Recovery Controller in this Amazon Web Services Region. Resources that are registered for zonal shifts are managed resources in ARC. You can start zonal shifts and configure zonal autoshift for managed resources.

Usage

arczonalshift_get_managed_resource(resourceIdentifier)

Arguments

resourceIdentifier

[required] The identifier for the resource that Amazon Web Services shifts traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

Amazon Application Recovery Controller currently supports enabling the following resources for zonal shift and zonal autoshift:

Value

A list with the following syntax:

list(
  arn = "string",
  name = "string",
  appliedWeights = list(
    123.0
  ),
  zonalShifts = list(
    list(
      appliedStatus = "APPLIED"|"NOT_APPLIED",
      zonalShiftId = "string",
      resourceIdentifier = "string",
      awayFrom = "string",
      expiryTime = as.POSIXct(
        "2015-01-01"
      ),
      startTime = as.POSIXct(
        "2015-01-01"
      ),
      comment = "string",
      shiftType = "ZONAL_SHIFT"|"PRACTICE_RUN"|"FIS_EXPERIMENT"|"ZONAL_AUTOSHIFT",
      practiceRunOutcome = "FAILED"|"INTERRUPTED"|"PENDING"|"SUCCEEDED"|"CAPACITY_CHECK_FAILED"
    )
  ),
  autoshifts = list(
    list(
      appliedStatus = "APPLIED"|"NOT_APPLIED",
      awayFrom = "string",
      startTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  practiceRunConfiguration = list(
    blockingAlarms = list(
      list(
        type = "CLOUDWATCH",
        alarmIdentifier = "string"
      )
    ),
    outcomeAlarms = list(
      list(
        type = "CLOUDWATCH",
        alarmIdentifier = "string"
      )
    ),
    blockedWindows = list(
      "string"
    ),
    allowedWindows = list(
      "string"
    ),
    blockedDates = list(
      "string"
    )
  ),
  zonalAutoshiftStatus = "ENABLED"|"DISABLED"
)

Request syntax

svc$get_managed_resource(
  resourceIdentifier = "string"
)