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 Route 53 Application Recovery Controller in this Amazon Web Services Region

Description

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

At this time, you can only start a zonal shift or configure zonal autoshift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

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.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

Value

A list with the following syntax:

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

Request syntax

svc$get_managed_resource(
  resourceIdentifier = "string"
)