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 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)


978
979
980
981
982
983
# File 'lib/aws-sdk-appmesh/types.rb', line 978

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

#matchTypes::HeaderMatchMethod

The ‘HeaderMatchMethod` object.



978
979
980
981
982
983
# File 'lib/aws-sdk-appmesh/types.rb', line 978

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)


978
979
980
981
982
983
# File 'lib/aws-sdk-appmesh/types.rb', line 978

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