Skip to content

Describes a resource of the Resilience Hub application

Description

Describes a resource of the Resilience Hub application.

This API accepts only one of the following parameters to describe the resource:

  • resourceName
  • logicalResourceId
  • physicalResourceId (Along with physicalResourceId, you can also provide awsAccountId, and awsRegion)

Usage

resiliencehub_describe_app_version_resource(appArn, appVersion,
  awsAccountId, awsRegion, logicalResourceId, physicalResourceId,
  resourceName)

Arguments

  • appArn

    [required] Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

  • appVersion

    [required] Resilience Hub application version.

  • awsAccountId

    Amazon Web Services account that owns the physical resource.

  • awsRegion

    Amazon Web Services region that owns the physical resource.

  • logicalResourceId

    Logical identifier of the resource.

  • physicalResourceId

    Physical identifier of the resource.

  • resourceName

    Name of the resource.

Value

A list with the following syntax:

list(
  appArn = "string",
  appVersion = "string",
  physicalResource = list(
    additionalInfo = list(
      list(
        "string"
      )
    ),
    appComponents = list(
      list(
        additionalInfo = list(
          list(
            "string"
          )
        ),
        id = "string",
        name = "string",
        type = "string"
      )
    ),
    excluded = TRUE|FALSE,
    logicalResourceId = list(
      eksSourceName = "string",
      identifier = "string",
      logicalStackName = "string",
      resourceGroupName = "string",
      terraformSourceName = "string"
    ),
    parentResourceName = "string",
    physicalResourceId = list(
      awsAccountId = "string",
      awsRegion = "string",
      identifier = "string",
      type = "Arn"|"Native"
    ),
    resourceName = "string",
    resourceType = "string",
    sourceType = "AppTemplate"|"Discovered"
  )
)

Request syntax

svc$describe_app_version_resource(
  appArn = "string",
  appVersion = "string",
  awsAccountId = "string",
  awsRegion = "string",
  logicalResourceId = list(
    eksSourceName = "string",
    identifier = "string",
    logicalStackName = "string",
    resourceGroupName = "string",
    terraformSourceName = "string"
  ),
  physicalResourceId = "string",
  resourceName = "string"
)