Class RecommendationPreferencesState


  • public final class RecommendationPreferencesState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • enhancedInfrastructureMetrics

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> enhancedInfrastructureMetrics()
        Returns:
        The status of the enhanced infrastructure metrics recommendation preference. Valid values: `Active`, `Inactive`.
      • externalMetricsPreference

        public java.util.Optional<com.pulumi.core.Output<RecommendationPreferencesExternalMetricsPreferenceArgs>> externalMetricsPreference()
        Returns:
        The provider of the external metrics recommendation preference. See External Metrics Preference below.
      • inferredWorkloadTypes

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> inferredWorkloadTypes()
        Returns:
        The status of the inferred workload types recommendation preference. Valid values: `Active`, `Inactive`.
      • lookBackPeriod

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> lookBackPeriod()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RecommendationPreferencesPreferredResourceArgs>>> preferredResources()
        Returns:
        The preference to control which resource type values are considered when generating rightsizing recommendations. See Preferred Resources below.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • resourceType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourceType()
        Returns:
        The target resource type of the recommendation preferences. Valid values: `Ec2Instance`, `AutoScalingGroup`, `RdsDBInstance`, `AuroraDBClusterStorage`.
      • savingsEstimationMode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> savingsEstimationMode()
        Returns:
        The status of the savings estimation mode preference. Valid values: `AfterDiscounts`, `BeforeDiscounts`.
      • scope

        public java.util.Optional<com.pulumi.core.Output<RecommendationPreferencesScopeArgs>> scope()
        Returns:
        The scope of the recommendation preferences. See Scope below.
      • utilizationPreferences

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RecommendationPreferencesUtilizationPreferenceArgs>>> utilizationPreferences()
        Returns:
        The preference to control the resource’s CPU utilization threshold, CPU utilization headroom, and memory utilization headroom. See Utilization Preferences below.