Class CfnAutoScalingGroup.MetricsCollectionProperty.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.MetricsCollectionProperty.Jsii$Proxy
All Implemented Interfaces:
CfnAutoScalingGroup.MetricsCollectionProperty, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnAutoScalingGroup.MetricsCollectionProperty

@Stability(Stable) @Internal public static final class CfnAutoScalingGroup.MetricsCollectionProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnAutoScalingGroup.MetricsCollectionProperty
  • Constructor Details

  • Method Details

    • getGranularity

      public final String getGranularity()
      Description copied from interface: CfnAutoScalingGroup.MetricsCollectionProperty
      The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch.

      The only valid value is 1Minute .

      Specified by:
      getGranularity in interface CfnAutoScalingGroup.MetricsCollectionProperty
    • getMetrics

      public final List<String> getMetrics()
      Description copied from interface: CfnAutoScalingGroup.MetricsCollectionProperty
      Identifies the metrics to enable.

      You can specify one or more of the following metrics:

      • GroupMinSize
      • GroupMaxSize
      • GroupDesiredCapacity
      • GroupInServiceInstances
      • GroupPendingInstances
      • GroupStandbyInstances
      • GroupTerminatingInstances
      • GroupTotalInstances
      • GroupInServiceCapacity
      • GroupPendingCapacity
      • GroupStandbyCapacity
      • GroupTerminatingCapacity
      • GroupTotalCapacity
      • WarmPoolDesiredCapacity
      • WarmPoolWarmedCapacity
      • WarmPoolPendingCapacity
      • WarmPoolTerminatingCapacity
      • WarmPoolTotalCapacity
      • GroupAndWarmPoolDesiredCapacity
      • GroupAndWarmPoolTotalCapacity

      If you specify Granularity and don't specify any metrics, all metrics are enabled.

      For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide .

      Specified by:
      getMetrics in interface CfnAutoScalingGroup.MetricsCollectionProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object