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< ? preferredResources, Input<RecommendationPreferencesPreferredResource> ?>String?> ? region, Input<String?> ? resourceType, Input<String?> ? savingsEstimationMode, Input<RecommendationPreferencesScope?> ? scope, Input<List< ? utilizationPreferences})RecommendationPreferencesUtilizationPreference> ?> -
Creates a new RecommendationPreferencesState.
enhancedInfrastructureMetricsThe status of the enhanced infrastructure metrics recommendation preference. Valid values:Active,Inactive.externalMetricsPreferenceThe provider of the external metrics recommendation preference. See External Metrics Preference below.inferredWorkloadTypesThe status of the inferred workload types recommendation preference. Valid values:Active,Inactive.lookBackPeriodThe preference to control the number of days the utilization metrics of the AWS resource are analyzed. Valid values:DAYS_14,DAYS_32,DAYS_93.preferredResourcesThe preference to control which resource type values are considered when generating rightsizing recommendations. See Preferred Resources below.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.resourceTypeThe target resource type of the recommendation preferences. Valid values:Ec2Instance,AutoScalingGroup,RdsDBInstance,AuroraDBClusterStorage.savingsEstimationModeThe status of the savings estimation mode preference. Valid values:AfterDiscounts,BeforeDiscounts.scopeThe scope of the recommendation preferences. See Scope below.utilizationPreferencesThe 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