Interface CfnVirtualRouter.PortMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualRouter.PortMappingProperty.Jsii$Proxy
- Enclosing class:
- CfnVirtualRouter
@Stability(Stable)
public static interface CfnVirtualRouter.PortMappingProperty
extends software.amazon.jsii.JsiiSerializable
An object representing a virtual router listener port mapping.
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.*; PortMappingProperty portMappingProperty = PortMappingProperty.builder() .port(123) .protocol("protocol") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVirtualRouter.PortMappingProperty
static final class
An implementation forCfnVirtualRouter.PortMappingProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPort
The port used for the port mapping. -
getProtocol
The protocol used for the port mapping.Specify one protocol.
-
builder
-