You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::AutoScaling::Types::Filter

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

{
  name: "XmlString",
  values: ["XmlString"],
}

Describes a filter.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the filter. The valid values are: "auto-scaling-group", "key", "value", and "propagate-at-launch".

Returns:

  • (String)


2308
2309
2310
2311
2312
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2308

class Filter < Struct.new(
  :name,
  :values)
  include Aws::Structure
end

#valuesArray<String>

The value of the filter.

Returns:

  • (Array<String>)


2308
2309
2310
2311
2312
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 2308

class Filter < Struct.new(
  :name,
  :values)
  include Aws::Structure
end