Skip to content

List of resource drifts that were detected while running an assessment

Description

List of resource drifts that were detected while running an assessment.

Usage

resiliencehub_list_app_assessment_resource_drifts(assessmentArn,
  maxResults, nextToken)

Arguments

  • assessmentArn

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

  • maxResults

    Maximum number of drift results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

  • nextToken

    Null, or the token from a previous call to get the next set of results.

Value

A list with the following syntax:

list(
  nextToken = "string",
  resourceDrifts = list(
    list(
      appArn = "string",
      appVersion = "string",
      diffType = "NotEqual"|"Added"|"Removed",
      referenceId = "string",
      resourceIdentifier = list(
        logicalResourceId = list(
          eksSourceName = "string",
          identifier = "string",
          logicalStackName = "string",
          resourceGroupName = "string",
          terraformSourceName = "string"
        ),
        resourceType = "string"
      )
    )
  )
)

Request syntax

svc$list_app_assessment_resource_drifts(
  assessmentArn = "string",
  maxResults = 123,
  nextToken = "string"
)