Class: Aws::AppMesh::Types::HeaderMatchMethod

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

Overview

Note:

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

{
  exact: "HeaderMatch",
  prefix: "HeaderMatch",
  range: {
    end: 1, # required
    start: 1, # required
  },
  regex: "HeaderMatch",
  suffix: "HeaderMatch",
}

An object that represents the method and value to match with the header value sent in a request. Specify one match method.

Instance Attribute Summary collapse

Instance Attribute Details

#exactString

The value sent by the client must match the specified value exactly.

Returns:

  • (String)


2694
2695
2696
2697
2698
2699
2700
2701
# File 'lib/aws-sdk-appmesh/types.rb', line 2694

class HeaderMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix)
  include Aws::Structure
end

#prefixString

The value sent by the client must begin with the specified characters.

Returns:

  • (String)


2694
2695
2696
2697
2698
2699
2700
2701
# File 'lib/aws-sdk-appmesh/types.rb', line 2694

class HeaderMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix)
  include Aws::Structure
end

#rangeTypes::MatchRange

An object that represents the range of values to match on.

Returns:



2694
2695
2696
2697
2698
2699
2700
2701
# File 'lib/aws-sdk-appmesh/types.rb', line 2694

class HeaderMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix)
  include Aws::Structure
end

#regexString

The value sent by the client must include the specified characters.

Returns:

  • (String)


2694
2695
2696
2697
2698
2699
2700
2701
# File 'lib/aws-sdk-appmesh/types.rb', line 2694

class HeaderMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix)
  include Aws::Structure
end

#suffixString

The value sent by the client must end with the specified characters.

Returns:

  • (String)


2694
2695
2696
2697
2698
2699
2700
2701
# File 'lib/aws-sdk-appmesh/types.rb', line 2694

class HeaderMatchMethod < Struct.new(
  :exact,
  :prefix,
  :range,
  :regex,
  :suffix)
  include Aws::Structure
end