Class: Aws::AppMesh::Types::GrpcGatewayRoute

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

{
  action: { # required
    rewrite: {
      hostname: {
        default_target_hostname: "ENABLED", # accepts ENABLED, DISABLED
      },
    },
    target: { # required
      virtual_service: { # required
        virtual_service_name: "ResourceName", # required
      },
    },
  },
  match: { # required
    hostname: {
      exact: "ExactHostName",
      suffix: "SuffixHostname",
    },
    metadata: [
      {
        invert: false,
        match: {
          exact: "HeaderMatch",
          prefix: "HeaderMatch",
          range: {
            end: 1, # required
            start: 1, # required
          },
          regex: "HeaderMatch",
          suffix: "HeaderMatch",
        },
        name: "HeaderName", # required
      },
    ],
    service_name: "ServiceName",
  },
}

An object that represents a gRPC gateway route.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionTypes::GrpcGatewayRouteAction

An object that represents the action to take if a match is determined.



3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3049

class GrpcGatewayRoute < Struct.new(
  :action,
  :match)
  SENSITIVE = []
  include Aws::Structure
end

#matchTypes::GrpcGatewayRouteMatch

An object that represents the criteria for determining a request match.



3049
3050
3051
3052
3053
3054
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3049

class GrpcGatewayRoute < Struct.new(
  :action,
  :match)
  SENSITIVE = []
  include Aws::Structure
end