Interface CfnVirtualGatewayPropsMixin.VirtualGatewayPortMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualGatewayPropsMixin.VirtualGatewayPortMappingProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualGatewayPropsMixin
@Stability(Stable)
public static interface CfnVirtualGatewayPropsMixin.VirtualGatewayPortMappingProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents a 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.cfnpropertymixins.services.appmesh.*;
VirtualGatewayPortMappingProperty virtualGatewayPortMappingProperty = VirtualGatewayPortMappingProperty.builder()
.port(123)
.protocol("protocol")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnVirtualGatewayPropsMixin.VirtualGatewayPortMappingProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPort
The port used for the port mapping.Specify one protocol.
- See Also:
-
getProtocol
The protocol used for the port mapping.- See Also:
-
builder
@Stability(Stable) static CfnVirtualGatewayPropsMixin.VirtualGatewayPortMappingProperty.Builder builder()
-