Class: Aws::AppMesh::Types::GrpcGatewayRouteAction

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

{
  rewrite: {
    hostname: {
      default_target_hostname: "ENABLED", # accepts ENABLED, DISABLED
    },
  },
  target: { # required
    virtual_service: { # required
      virtual_service_name: "ResourceName", # required
    },
  },
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#rewriteTypes::GrpcGatewayRouteRewrite

The gateway route action to rewrite.



3085
3086
3087
3088
3089
3090
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3085

class GrpcGatewayRouteAction < Struct.new(
  :rewrite,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#targetTypes::GatewayRouteTarget

An object that represents the target that traffic is routed to when a request matches the gateway route.



3085
3086
3087
3088
3089
3090
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3085

class GrpcGatewayRouteAction < Struct.new(
  :rewrite,
  :target)
  SENSITIVE = []
  include Aws::Structure
end