Skip to content

Gets the resource associated with the application

Description

Gets the resource associated with the application.

Usage

appregistry_get_associated_resource(application, resourceType, resource,
  nextToken, resourceTagStatus, maxResults)

Arguments

  • application

    [required] The name, ID, or ARN of the application.

  • resourceType

    [required] The type of resource associated with the application.

  • resource

    [required] The name or ID of the resource associated with the application.

  • nextToken

    A unique pagination token for each page of results. Make the call again with the returned token to retrieve the next page of results.

  • resourceTagStatus

    States whether an application tag is applied, not applied, in the process of being applied, or skipped.

  • maxResults

    The maximum number of results to return. If the parameter is omitted, it defaults to 25. The value is optional.

Value

A list with the following syntax:

list(
  resource = list(
    name = "string",
    arn = "string",
    associationTime = as.POSIXct(
      "2015-01-01"
    ),
    integrations = list(
      resourceGroup = list(
        state = "CREATING"|"CREATE_COMPLETE"|"CREATE_FAILED"|"UPDATING"|"UPDATE_COMPLETE"|"UPDATE_FAILED",
        arn = "string",
        errorMessage = "string"
      )
    )
  ),
  options = list(
    "APPLY_APPLICATION_TAG"|"SKIP_APPLICATION_TAG"
  ),
  applicationTagResult = list(
    applicationTagStatus = "IN_PROGRESS"|"SUCCESS"|"FAILURE",
    errorMessage = "string",
    resources = list(
      list(
        resourceArn = "string",
        errorMessage = "string",
        status = "string",
        resourceType = "string"
      )
    ),
    nextToken = "string"
  )
)

Request syntax

svc$get_associated_resource(
  application = "string",
  resourceType = "CFN_STACK"|"RESOURCE_TAG_VALUE",
  resource = "string",
  nextToken = "string",
  resourceTagStatus = list(
    "SUCCESS"|"FAILED"|"IN_PROGRESS"|"SKIPPED"
  ),
  maxResults = 123
)