HeaderMatchMethod - Amazon App Mesh
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

HeaderMatchMethod

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

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

exact

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: No

prefix

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: No

range

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

Type: MatchRange object

Required: No

regex

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: No

suffix

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: