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

Class: Aws::CodeDeploy::Types::EC2TagFilter

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

Overview

Note:

When making an API call, you may pass EC2TagFilter data as a hash:

{
  key: "Key",
  value: "Value",
  type: "KEY_ONLY", # accepts KEY_ONLY, VALUE_ONLY, KEY_AND_VALUE
}

Information about an EC2 tag filter.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag filter key.

Returns:

  • (String)


1651
1652
1653
1654
1655
1656
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 1651

class EC2TagFilter < Struct.new(
  :key,
  :value,
  :type)
  include Aws::Structure
end

#typeString

The tag filter type:

  • KEY_ONLY: Key only.

  • VALUE_ONLY: Value only.

  • KEY_AND_VALUE: Key and value.

Returns:

  • (String)


1651
1652
1653
1654
1655
1656
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 1651

class EC2TagFilter < Struct.new(
  :key,
  :value,
  :type)
  include Aws::Structure
end

#valueString

The tag filter value.

Returns:

  • (String)


1651
1652
1653
1654
1655
1656
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 1651

class EC2TagFilter < Struct.new(
  :key,
  :value,
  :type)
  include Aws::Structure
end