Interface CfnVirtualNode.PortMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNode.PortMappingProperty.Jsii$Proxy
- Enclosing class:
- CfnVirtualNode
@Stability(Stable)
public static interface CfnVirtualNode.PortMappingProperty
extends software.amazon.jsii.JsiiSerializable
An object representing a virtual node or 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 forCfnVirtualNode.PortMappingProperty
static final class
An implementation forCfnVirtualNode.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
http
,http2
,grpc
, ortcp
. -
builder
-