Class: Aws::AppMesh::Types::GrpcGatewayRouteAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMesh::Types::GrpcGatewayRouteAction
- 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
-
#rewrite ⇒ Types::GrpcGatewayRouteRewrite
The gateway route action to rewrite.
-
#target ⇒ Types::GatewayRouteTarget
An object that represents the target that traffic is routed to when a request matches the gateway route.
Instance Attribute Details
#rewrite ⇒ Types::GrpcGatewayRouteRewrite
The gateway route action to rewrite.
3099 3100 3101 3102 3103 3104 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3099 class GrpcGatewayRouteAction < Struct.new( :rewrite, :target) SENSITIVE = [] include Aws::Structure end |
#target ⇒ Types::GatewayRouteTarget
An object that represents the target that traffic is routed to when a request matches the gateway route.
3099 3100 3101 3102 3103 3104 |
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3099 class GrpcGatewayRouteAction < Struct.new( :rewrite, :target) SENSITIVE = [] include Aws::Structure end |