Class CfnVirtualRouter.VirtualRouterSpecProperty
An object that represents the specification of a virtual router.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVirtualRouter.VirtualRouterSpecProperty : CfnVirtualRouter.IVirtualRouterSpecProperty
Syntax (vb)
Public Class CfnVirtualRouter.VirtualRouterSpecProperty Implements CfnVirtualRouter.IVirtualRouterSpecProperty
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 virtualRouterSpecProperty = new VirtualRouterSpecProperty {
Listeners = new [] { new VirtualRouterListenerProperty {
PortMapping = new PortMappingProperty {
Port = 123,
Protocol = "protocol"
}
} }
};
Synopsis
Constructors
| VirtualRouterSpecProperty() | An object that represents the specification of a virtual router. |
Properties
| Listeners | The listeners that the virtual router is expected to receive inbound traffic from. |
Constructors
VirtualRouterSpecProperty()
An object that represents the specification of a virtual router.
public VirtualRouterSpecProperty()
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 virtualRouterSpecProperty = new VirtualRouterSpecProperty {
Listeners = new [] { new VirtualRouterListenerProperty {
PortMapping = new PortMappingProperty {
Port = 123,
Protocol = "protocol"
}
} }
};
Properties
Listeners
The listeners that the virtual router is expected to receive inbound traffic from.
public object Listeners { get; set; }