Class: Aws::VPCLattice::Types::HeaderMatchType

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-vpclattice/types.rb

Overview

Note:

HeaderMatchType is a union - when making an API calls you must set exactly one of the members.

Note:

HeaderMatchType is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of HeaderMatchType corresponding to the set member.

Describes a header match type.

Direct Known Subclasses

Contains, Exact, Prefix, Unknown

Defined Under Namespace

Classes: Contains, Exact, Prefix, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#containsString

A contains type match.



3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
# File 'lib/aws-sdk-vpclattice/types.rb', line 3069

class HeaderMatchType < Struct.new(
  :exact,
  :prefix,
  :contains,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Exact < HeaderMatchType; end
  class Prefix < HeaderMatchType; end
  class Contains < HeaderMatchType; end
  class Unknown < HeaderMatchType; end
end

#exactString

An exact type match.



3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
# File 'lib/aws-sdk-vpclattice/types.rb', line 3069

class HeaderMatchType < Struct.new(
  :exact,
  :prefix,
  :contains,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Exact < HeaderMatchType; end
  class Prefix < HeaderMatchType; end
  class Contains < HeaderMatchType; end
  class Unknown < HeaderMatchType; end
end

#prefixString

A prefix type match. Matches the value with the prefix.



3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
# File 'lib/aws-sdk-vpclattice/types.rb', line 3069

class HeaderMatchType < Struct.new(
  :exact,
  :prefix,
  :contains,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Exact < HeaderMatchType; end
  class Prefix < HeaderMatchType; end
  class Contains < HeaderMatchType; end
  class Unknown < HeaderMatchType; end
end

#unknownObject

Returns the value of attribute unknown



3069
3070
3071
# File 'lib/aws-sdk-vpclattice/types.rb', line 3069

def unknown
  @unknown
end