Skip to content

List App Component Compliances

resiliencehub_list_app_component_compliances R Documentation

Lists the compliances for an Resilience Hub Application Component

Description

Lists the compliances for an Resilience Hub Application Component.

Usage

resiliencehub_list_app_component_compliances(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 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(
  componentCompliances = list(
    list(
      appComponentName = "string",
      compliance = list(
        list(
          achievableRpoInSecs = 123,
          achievableRtoInSecs = 123,
          complianceStatus = "PolicyBreached"|"PolicyMet"|"NotApplicable"|"MissingPolicy",
          currentRpoInSecs = 123,
          currentRtoInSecs = 123,
          message = "string",
          rpoDescription = "string",
          rpoReferenceId = "string",
          rtoDescription = "string",
          rtoReferenceId = "string"
        )
      ),
      cost = list(
        amount = 123.0,
        currency = "string",
        frequency = "Hourly"|"Daily"|"Monthly"|"Yearly"
      ),
      message = "string",
      resiliencyScore = list(
        componentScore = list(
          list(
            excludedCount = 123,
            outstandingCount = 123,
            possibleScore = 123.0,
            score = 123.0
          )
        ),
        disruptionScore = list(
          123.0
        ),
        score = 123.0
      ),
      status = "PolicyBreached"|"PolicyMet"|"NotApplicable"|"MissingPolicy"
    )
  ),
  nextToken = "string"
)

Request syntax

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