Interface CfnGatewayRoute.IGrpcGatewayRouteActionProperty
An object that represents the action to take if a match is determined.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IGrpcGatewayRouteActionProperty
Syntax (vb)
Public Interface IGrpcGatewayRouteActionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppMesh;
var grpcGatewayRouteActionProperty = new GrpcGatewayRouteActionProperty {
Target = new GatewayRouteTargetProperty {
VirtualService = new GatewayRouteVirtualServiceProperty {
VirtualServiceName = "virtualServiceName"
},
// the properties below are optional
Port = 123
},
// the properties below are optional
Rewrite = new GrpcGatewayRouteRewriteProperty {
Hostname = new GatewayRouteHostnameRewriteProperty {
DefaultTargetHostname = "defaultTargetHostname"
}
}
};
Synopsis
Properties
Rewrite | The gateway route action to rewrite. |
Target | An object that represents the target that traffic is routed to when a request matches the gateway route. |
Properties
Rewrite
The gateway route action to rewrite.
virtual object Rewrite { get; }
Property Value
System.Object
Remarks
Target
An object that represents the target that traffic is routed to when a request matches the gateway route.
object Target { get; }
Property Value
System.Object