RecommendationPreferencesState constructor

const RecommendationPreferencesState({
  1. Input<String?>? enhancedInfrastructureMetrics,
  2. Input<RecommendationPreferencesExternalMetricsPreference?>? externalMetricsPreference,
  3. Input<String?>? inferredWorkloadTypes,
  4. Input<String?>? lookBackPeriod,
  5. Input<List<RecommendationPreferencesPreferredResource>?>? preferredResources,
  6. Input<String?>? region,
  7. Input<String?>? resourceType,
  8. Input<String?>? savingsEstimationMode,
  9. Input<RecommendationPreferencesScope?>? scope,
  10. 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.

Implementation

const RecommendationPreferencesState({
  this.enhancedInfrastructureMetrics,
  this.externalMetricsPreference,
  this.inferredWorkloadTypes,
  this.lookBackPeriod,
  this.preferredResources,
  this.region,
  this.resourceType,
  this.savingsEstimationMode,
  this.scope,
  this.utilizationPreferences,
});