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

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 HttpRouteHeader data as a hash:

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

An object representing the HTTP header in the request.

Instance Attribute Summary collapse

Instance Attribute Details

#invertBoolean

Specify ‘True` to match the opposite of the `HeaderMatchMethod` method and value. The default value is `False`.

Returns:

  • (Boolean)


920
921
922
923
924
925
# File 'lib/aws-sdk-appmesh/types.rb', line 920

class HttpRouteHeader < Struct.new(
  :invert,
  :match,
  :name)
  include Aws::Structure
end

#matchTypes::HeaderMatchMethod

The ‘HeaderMatchMethod` object.



920
921
922
923
924
925
# File 'lib/aws-sdk-appmesh/types.rb', line 920

class HttpRouteHeader < Struct.new(
  :invert,
  :match,
  :name)
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


920
921
922
923
924
925
# File 'lib/aws-sdk-appmesh/types.rb', line 920

class HttpRouteHeader < Struct.new(
  :invert,
  :match,
  :name)
  include Aws::Structure
end