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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_group_name ⇒ String

The name of the Auto Scaling group.

Returns:

  • (String)


2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2687

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

#include_managed_resources ⇒ Boolean

Specifies whether to include scaling policies for managed Auto Scaling groups in the response. When set to true (default), the response includes scaling policies for managed Auto Scaling groups.

Returns:

  • (Boolean)


2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2687

class DescribePoliciesType < Struct.new(
  :auto_scaling_group_name,
  :policy_names,
  :policy_types,
  :include_managed_resources,
  :next_token,
  :max_records)
  SENSITIVE = []
  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.

A response can contain fewer items than the value specified by MaxRecords, even when more items are available. To retrieve the additional items, use the NextToken value in a subsequent call rather than relying on the number of items in the response.

Returns:

  • (Integer)


2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2687

class DescribePoliciesType < Struct.new(
  :auto_scaling_group_name,
  :policy_names,
  :policy_types,
  :include_managed_resources,
  :next_token,
  :max_records)
  SENSITIVE = []
  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.)

Returns:

  • (String)


2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2687

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

#policy_names ⇒ Array<String>

The names of one or more policies. If you omit this property, 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>)


2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2687

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

#policy_types ⇒ Array<String>

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

Returns:

  • (Array<String>)


2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2687

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