Class CfnGatewayRoute.GatewayRouteTargetProperty
An object that represents a gateway route target.
Inheritance
System.Object
CfnGatewayRoute.GatewayRouteTargetProperty
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GatewayRouteTargetProperty : Object, CfnGatewayRoute.IGatewayRouteTargetProperty
Syntax (vb)
Public Class GatewayRouteTargetProperty
Inherits Object
Implements CfnGatewayRoute.IGatewayRouteTargetProperty
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 gatewayRouteTargetProperty = new GatewayRouteTargetProperty {
VirtualService = new GatewayRouteVirtualServiceProperty {
VirtualServiceName = "virtualServiceName"
},
// the properties below are optional
Port = 123
};
Synopsis
Constructors
GatewayRouteTargetProperty() |
Properties
Port | The port number of the gateway route target. |
VirtualService | An object that represents a virtual service gateway route target. |
Constructors
GatewayRouteTargetProperty()
public GatewayRouteTargetProperty()
Properties
Port
The port number of the gateway route target.
public Nullable<double> Port { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
VirtualService
An object that represents a virtual service gateway route target.
public object VirtualService { get; set; }
Property Value
System.Object