Interface CfnGatewayRoute.GatewayRouteTargetProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRoute.GatewayRouteTargetProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRoute
@Stability(Stable)
public static interface CfnGatewayRoute.GatewayRouteTargetProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents a gateway route target.
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.*;
GatewayRouteTargetProperty gatewayRouteTargetProperty = GatewayRouteTargetProperty.builder()
.virtualService(GatewayRouteVirtualServiceProperty.builder()
.virtualServiceName("virtualServiceName")
.build())
// the properties below are optional
.port(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRoute.GatewayRouteTargetPropertystatic final classAn implementation forCfnGatewayRoute.GatewayRouteTargetProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getVirtualService
An object that represents a virtual service gateway route target.Returns union: either
IResolvableorCfnGatewayRoute.GatewayRouteVirtualServiceProperty- See Also:
-
getPort
The port number of the gateway route target.- See Also:
-
builder
-