Interface CfnVirtualRouter.VirtualRouterSpecProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualRouter.VirtualRouterSpecProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualRouter
@Stability(Stable)
public static interface CfnVirtualRouter.VirtualRouterSpecProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the specification of a virtual router.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
VirtualRouterSpecProperty virtualRouterSpecProperty = VirtualRouterSpecProperty.builder()
.listeners(List.of(VirtualRouterListenerProperty.builder()
.portMapping(PortMappingProperty.builder()
.port(123)
.protocol("protocol")
.build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualRouter.VirtualRouterSpecPropertystatic final classAn implementation forCfnVirtualRouter.VirtualRouterSpecProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The listeners that the virtual router is expected to receive inbound traffic from.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getListeners
The listeners that the virtual router is expected to receive inbound traffic from.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnVirtualRouter.VirtualRouterListenerProperty>- See Also:
-
builder
-