Class: Aws::AppMesh::Types::HttpGatewayRouteHeader

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb

Overview

Note:

When making an API call, you may pass HttpGatewayRouteHeader 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 gateway route.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#invertBoolean

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

Returns:

  • (Boolean)


3907
3908
3909
3910
3911
3912
3913
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3907

class HttpGatewayRouteHeader < Struct.new(
  :invert,
  :match,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#matchTypes::HeaderMatchMethod

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



3907
3908
3909
3910
3911
3912
3913
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3907

class HttpGatewayRouteHeader < Struct.new(
  :invert,
  :match,
  :name)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name for the HTTP header in the gateway route that will be matched on.

Returns:

  • (String)


3907
3908
3909
3910
3911
3912
3913
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3907

class HttpGatewayRouteHeader < Struct.new(
  :invert,
  :match,
  :name)
  SENSITIVE = []
  include Aws::Structure
end