Class: Aws::AutoScaling::Types::GetPredictiveScalingForecastType

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 GetPredictiveScalingForecastType data as a hash:

{
  auto_scaling_group_name: "XmlStringMaxLen255", # required
  policy_name: "XmlStringMaxLen255", # required
  start_time: Time.now, # required
  end_time: Time.now, # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)


3616
3617
3618
3619
3620
3621
3622
3623
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3616

class GetPredictiveScalingForecastType < Struct.new(
  :auto_scaling_group_name,
  :policy_name,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

The exclusive end time of the time range for the forecast data to get. The maximum time duration between the start and end time is 30 days.

Although this parameter can accept a date and time that is more than two days in the future, the availability of forecast data has limits. Amazon EC2 Auto Scaling only issues forecasts for periods of two days in advance.

Returns:

  • (Time)


3616
3617
3618
3619
3620
3621
3622
3623
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3616

class GetPredictiveScalingForecastType < Struct.new(
  :auto_scaling_group_name,
  :policy_name,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of the policy.

Returns:

  • (String)


3616
3617
3618
3619
3620
3621
3622
3623
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3616

class GetPredictiveScalingForecastType < Struct.new(
  :auto_scaling_group_name,
  :policy_name,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The inclusive start time of the time range for the forecast data to get. At most, the date and time can be one year before the current date and time.

Returns:

  • (Time)


3616
3617
3618
3619
3620
3621
3622
3623
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 3616

class GetPredictiveScalingForecastType < Struct.new(
  :auto_scaling_group_name,
  :policy_name,
  :start_time,
  :end_time)
  SENSITIVE = []
  include Aws::Structure
end