Class: Aws::AutoScaling::Types::PredictiveScalingCustomizedCapacityMetric

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb

Overview

Note:

When making an API call, you may pass PredictiveScalingCustomizedCapacityMetric data as a hash:

{
  metric_data_queries: [ # required
    {
      id: "XmlStringMaxLen255", # required
      expression: "XmlStringMaxLen1023",
      metric_stat: {
        metric: { # required
          namespace: "MetricNamespace", # required
          metric_name: "MetricName", # required
          dimensions: [
            {
              name: "MetricDimensionName", # required
              value: "MetricDimensionValue", # required
            },
          ],
        },
        stat: "XmlStringMetricStat", # required
        unit: "MetricUnit",
      },
      label: "XmlStringMetricLabel",
      return_data: false,
    },
  ],
}

Describes a customized capacity metric for a predictive scaling policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_data_queriesArray<Types::MetricDataQuery>

One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data.

Returns:



6263
6264
6265
6266
6267
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 6263

class PredictiveScalingCustomizedCapacityMetric < Struct.new(
  :metric_data_queries)
  SENSITIVE = []
  include Aws::Structure
end