InstanceRecommendation

public struct InstanceRecommendation : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The AWS account ID of the instance.

    Declaration

    Swift

    public let accountId: String?
  • The instance type of the current instance.

    Declaration

    Swift

    public let currentInstanceType: String?
  • The finding classification for the instance. Findings for instances include: Underprovisioned —An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance. Overprovisioned —An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost. Optimized —An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. An optimized instance runs your workloads with optimal performance and infrastructure cost. For optimized resources, AWS Compute Optimizer might recommend a new generation instance type. The values that are returned might be UNDER_PROVISIONED, OVER_PROVISIONED, or OPTIMIZED.

    Declaration

    Swift

    public let finding: Finding?
  • The Amazon Resource Name (ARN) of the current instance.

    Declaration

    Swift

    public let instanceArn: String?
  • The name of the current instance.

    Declaration

    Swift

    public let instanceName: String?
  • The time stamp of when the instance recommendation was last refreshed.

    Declaration

    Swift

    public let lastRefreshTimestamp: TimeStamp?
  • The number of days for which utilization metrics were analyzed for the instance.

    Declaration

    Swift

    public let lookBackPeriodInDays: Double?
  • An array of objects that describe the recommendation options for the instance.

    Declaration

    Swift

    public let recommendationOptions: [InstanceRecommendationOption]?
  • An array of objects that describe the source resource of the recommendation.

    Declaration

    Swift

    public let recommendationSources: [RecommendationSource]?
  • An array of objects that describe the utilization metrics of the instance.

    Declaration

    Swift

    public let utilizationMetrics: [UtilizationMetric]?
  • Undocumented

    Declaration

    Swift

    public init(accountId: String? = nil, currentInstanceType: String? = nil, finding: Finding? = nil, instanceArn: String? = nil, instanceName: String? = nil, lastRefreshTimestamp: TimeStamp? = nil, lookBackPeriodInDays: Double? = nil, recommendationOptions: [InstanceRecommendationOption]? = nil, recommendationSources: [RecommendationSource]? = nil, utilizationMetrics: [UtilizationMetric]? = nil)