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

Class: Aws::AppMesh::Types::HttpRouteHeader

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

Overview

Note:

When passing HttpRouteHeader as input to an Aws::Client method, you can use a vanilla Hash:

{
  invert: false,
  match: {
    exact: "HeaderMatch",
    prefix: "HeaderMatch",
    range: {
      end: 1, # required
      start: 1, # required
    },
    regex: "HeaderMatch",
    suffix: "HeaderMatch",
  },
  name: "HeaderName", # required
}

An object that represents the HTTP header in the request.

Instance Attribute Summary collapse

Instance Attribute Details

#invertBoolean

Specify True to match anything except the match criteria. The default value is False.

Returns:

  • (Boolean)

    Specify True to match anything except the match criteria.

#matchTypes::HeaderMatchMethod

The HeaderMatchMethod object.

Returns:

#nameString

A name for the HTTP header in the client request that will be matched on.

Returns:

  • (String)

    A name for the HTTP header in the client request that will be matched on.