Class GatewayRouteProps
Properties to define a new GatewayRoute.
Inheritance
System.Object
GatewayRouteProps
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class GatewayRouteProps : Object, IGatewayRouteProps, IGatewayRouteBaseProps
Syntax (vb)
Public Class GatewayRouteProps
Inherits Object
Implements IGatewayRouteProps, IGatewayRouteBaseProps
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;
GatewayRouteSpec gatewayRouteSpec;
VirtualGateway virtualGateway;
var gatewayRouteProps = new GatewayRouteProps {
RouteSpec = gatewayRouteSpec,
VirtualGateway = virtualGateway,
// the properties below are optional
GatewayRouteName = "gatewayRouteName"
};
Synopsis
Constructors
GatewayRouteProps() |
Properties
GatewayRouteName | The name of the GatewayRoute. |
RouteSpec | What protocol the route uses. |
VirtualGateway | The VirtualGateway this GatewayRoute is associated with. |
Constructors
GatewayRouteProps()
public GatewayRouteProps()
Properties
GatewayRouteName
The name of the GatewayRoute.
public string GatewayRouteName { get; set; }
Property Value
System.String
Remarks
Default: - an automatically generated name
RouteSpec
What protocol the route uses.
public GatewayRouteSpec RouteSpec { get; set; }
Property Value
VirtualGateway
The VirtualGateway this GatewayRoute is associated with.
public IVirtualGateway VirtualGateway { get; set; }
Property Value