AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing HeaderMatchMethod as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#exactString

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

Returns:

  • (String)

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

#prefixString

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

Returns:

  • (String)

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

#rangeTypes::MatchRange

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

Returns:

#regexString

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

Returns:

  • (String)

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

#suffixString

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

Returns:

  • (String)

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