Skip to content

Lists the recommendations for an Resilience Hub Application Component

Description

Lists the recommendations for an Resilience Hub Application Component.

Usage

resiliencehub_list_app_component_recommendations(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(
  componentRecommendations = list(
    list(
      appComponentName = "string",
      configRecommendations = 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"
          ),
          description = "string",
          haArchitecture = "MultiSite"|"WarmStandby"|"PilotLight"|"BackupAndRestore"|"NoRecoveryPlan",
          name = "string",
          optimizationType = "LeastCost"|"LeastChange"|"BestAZRecovery"|"LeastErrors"|"BestAttainable"|"BestRegionRecovery",
          recommendationCompliance = list(
            list(
              expectedComplianceStatus = "PolicyBreached"|"PolicyMet"|"NotApplicable"|"MissingPolicy",
              expectedRpoDescription = "string",
              expectedRpoInSecs = 123,
              expectedRtoDescription = "string",
              expectedRtoInSecs = 123
            )
          ),
          referenceId = "string",
          suggestedChanges = list(
            "string"
          )
        )
      ),
      recommendationStatus = "BreachedUnattainable"|"BreachedCanMeet"|"MetCanImprove"|"MissingPolicy"
    )
  ),
  nextToken = "string"
)

Request syntax

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