Class: Aws::AutoScaling::Types::DescribePoliciesType

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

{
  auto_scaling_group_name: "XmlStringMaxLen255",
  policy_names: ["ResourceName"],
  policy_types: ["XmlStringMaxLen64"],
  next_token: "XmlString",
  max_records: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_nameString

The name of the Auto Scaling group.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2507

class DescribePoliciesType < Struct.new(
  :auto_scaling_group_name,
  :policy_names,
  :policy_types,
  :next_token,
  :max_records)
  SENSITIVE = []
  include Aws::Structure
end

#max_recordsInteger

The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.

Returns:

  • (Integer)


2507
2508
2509
2510
2511
2512
2513
2514
2515
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2507

class DescribePoliciesType < Struct.new(
  :auto_scaling_group_name,
  :policy_names,
  :policy_types,
  :next_token,
  :max_records)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token for the next set of items to return. (You received this token from a previous call.)

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2507

class DescribePoliciesType < Struct.new(
  :auto_scaling_group_name,
  :policy_names,
  :policy_types,
  :next_token,
  :max_records)
  SENSITIVE = []
  include Aws::Structure
end

#policy_namesArray<String>

The names of one or more policies. If you omit this parameter, all policies are described. If a group name is provided, the results are limited to that group. If you specify an unknown policy name, it is ignored with no error.

Array Members: Maximum number of 50 items.

Returns:

  • (Array<String>)


2507
2508
2509
2510
2511
2512
2513
2514
2515
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2507

class DescribePoliciesType < Struct.new(
  :auto_scaling_group_name,
  :policy_names,
  :policy_types,
  :next_token,
  :max_records)
  SENSITIVE = []
  include Aws::Structure
end

#policy_typesArray<String>

One or more policy types. The valid values are SimpleScaling, StepScaling, TargetTrackingScaling, and PredictiveScaling.

Returns:

  • (Array<String>)


2507
2508
2509
2510
2511
2512
2513
2514
2515
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2507

class DescribePoliciesType < Struct.new(
  :auto_scaling_group_name,
  :policy_names,
  :policy_types,
  :next_token,
  :max_records)
  SENSITIVE = []
  include Aws::Structure
end