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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/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)


2498
2499
2500
2501
2502
2503
2504
2505
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2498

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)


2498
2499
2500
2501
2502
2503
2504
2505
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2498

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:



2498
2499
2500
2501
2502
2503
2504
2505
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2498

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)


2498
2499
2500
2501
2502
2503
2504
2505
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2498

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)


2498
2499
2500
2501
2502
2503
2504
2505
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 2498

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