RecommendationPreferencesState class

Input properties used for looking up and filtering RecommendationPreferences resources.

Constructors

RecommendationPreferencesState({Input<String?>? enhancedInfrastructureMetrics, Input<RecommendationPreferencesExternalMetricsPreference?>? externalMetricsPreference, Input<String?>? inferredWorkloadTypes, Input<String?>? lookBackPeriod, Input<List<RecommendationPreferencesPreferredResource>?>? preferredResources, Input<String?>? region, Input<String?>? resourceType, Input<String?>? savingsEstimationMode, Input<RecommendationPreferencesScope?>? scope, Input<List<RecommendationPreferencesUtilizationPreference>?>? utilizationPreferences})
Creates a new RecommendationPreferencesState. enhancedInfrastructureMetrics The status of the enhanced infrastructure metrics recommendation preference. Valid values: Active, Inactive. externalMetricsPreference The provider of the external metrics recommendation preference. See External Metrics Preference below. inferredWorkloadTypes The status of the inferred workload types recommendation preference. Valid values: Active, Inactive. lookBackPeriod The preference to control the number of days the utilization metrics of the AWS resource are analyzed. Valid values: DAYS_14, DAYS_32, DAYS_93. preferredResources The preference to control which resource type values are considered when generating rightsizing recommendations. See Preferred Resources below. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. resourceType The target resource type of the recommendation preferences. Valid values: Ec2Instance, AutoScalingGroup, RdsDBInstance, AuroraDBClusterStorage. savingsEstimationMode The status of the savings estimation mode preference. Valid values: AfterDiscounts, BeforeDiscounts. scope The scope of the recommendation preferences. See Scope below. utilizationPreferences The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. See Utilization Preferences below.
const
RecommendationPreferencesState.fromMap(Map<String, dynamic> map)
factory

Properties

enhancedInfrastructureMetrics → Input<String?>?
The status of the enhanced infrastructure metrics recommendation preference. Valid values: Active, Inactive.
final
externalMetricsPreference → Input<RecommendationPreferencesExternalMetricsPreference?>?
The provider of the external metrics recommendation preference. See External Metrics Preference below.
final
hashCode → int
The hash code for this object.
no setterinherited
inferredWorkloadTypes → Input<String?>?
The status of the inferred workload types recommendation preference. Valid values: Active, Inactive.
final
lookBackPeriod → Input<String?>?
The preference to control the number of days the utilization metrics of the AWS resource are analyzed. Valid values: DAYS_14, DAYS_32, DAYS_93.
final
preferredResources → Input<List<RecommendationPreferencesPreferredResource>?>?
The preference to control which resource type values are considered when generating rightsizing recommendations. See Preferred Resources below.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
resourceType → Input<String?>?
The target resource type of the recommendation preferences. Valid values: Ec2Instance, AutoScalingGroup, RdsDBInstance, AuroraDBClusterStorage.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
savingsEstimationMode → Input<String?>?
The status of the savings estimation mode preference. Valid values: AfterDiscounts, BeforeDiscounts.
final
scope → Input<RecommendationPreferencesScope?>?
The scope of the recommendation preferences. See Scope below.
final
utilizationPreferences → Input<List<RecommendationPreferencesUtilizationPreference>?>?
The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. See Utilization Preferences below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited