Class: Aws::AutoScaling::Types::DescribePoliciesType
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::DescribePoliciesType
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-autoscaling/types.rb
Overview
When making an API call, you may pass DescribePoliciesType data as a hash:
{
auto_scaling_group_name: "ResourceName",
policy_names: ["ResourceName"],
policy_types: ["XmlStringMaxLen64"],
next_token: "XmlString",
max_records: 1,
}
Instance Attribute Summary collapse
-
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
-
#max_records ⇒ Integer
The maximum number of items to be returned with each call.
-
#next_token ⇒ String
The token for the next set of items to return.
-
#policy_names ⇒ Array<String>
The names of one or more policies.
-
#policy_types ⇒ Array<String>
One or more policy types.
Instance Attribute Details
#auto_scaling_group_name ⇒ String
The name of the Auto Scaling group.
1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 1811 class DescribePoliciesType < Struct.new( :auto_scaling_group_name, :policy_names, :policy_types, :next_token, :max_records) include Aws::Structure end |
#max_records ⇒ Integer
The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.
1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 1811 class DescribePoliciesType < Struct.new( :auto_scaling_group_name, :policy_names, :policy_types, :next_token, :max_records) include Aws::Structure end |
#next_token ⇒ String
The token for the next set of items to return. (You received this token from a previous call.)
1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 1811 class DescribePoliciesType < Struct.new( :auto_scaling_group_name, :policy_names, :policy_types, :next_token, :max_records) include Aws::Structure end |
#policy_names ⇒ Array<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. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 1811 class DescribePoliciesType < Struct.new( :auto_scaling_group_name, :policy_names, :policy_types, :next_token, :max_records) include Aws::Structure end |
#policy_types ⇒ Array<String>
One or more policy types. Valid values are ‘SimpleScaling` and `StepScaling`.
1811 1812 1813 1814 1815 1816 1817 1818 |
# File 'lib/aws-sdk-autoscaling/types.rb', line 1811 class DescribePoliciesType < Struct.new( :auto_scaling_group_name, :policy_names, :policy_types, :next_token, :max_records) include Aws::Structure end |