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 representing the method and value to match the header value sent with a request. Specify one match method.

Instance Attribute Summary collapse

Instance Attribute Details

#exactString

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

Returns:

  • (String)


2421
2422
2423
2424
2425
2426
2427
2428
# File 'lib/aws-sdk-appmesh/types.rb', line 2421

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

#prefixString

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

Returns:

  • (String)


2421
2422
2423
2424
2425
2426
2427
2428
# File 'lib/aws-sdk-appmesh/types.rb', line 2421

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

#rangeTypes::MatchRange

The object that specifies the range of numbers that the header value sent by the client must be included in.

Returns:



2421
2422
2423
2424
2425
2426
2427
2428
# File 'lib/aws-sdk-appmesh/types.rb', line 2421

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

#regexString

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

Returns:

  • (String)


2421
2422
2423
2424
2425
2426
2427
2428
# File 'lib/aws-sdk-appmesh/types.rb', line 2421

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

#suffixString

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

Returns:

  • (String)


2421
2422
2423
2424
2425
2426
2427
2428
# File 'lib/aws-sdk-appmesh/types.rb', line 2421

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