Interface RouteProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,RouteBaseProps
- All Known Implementing Classes:
RouteProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:10.167Z")
@Stability(Stable)
public interface RouteProps
extends software.amazon.jsii.JsiiSerializable, RouteBaseProps
Properties to define new Routes.
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.*; Mesh mesh; RouteSpec routeSpec; VirtualRouter virtualRouter; RouteProps routeProps = RouteProps.builder() .mesh(mesh) .routeSpec(routeSpec) .virtualRouter(virtualRouter) // the properties below are optional .routeName("routeName") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forRouteProps
static final class
An implementation forRouteProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic RouteProps.Builder
builder()
getMesh()
The service mesh to define the route in.The VirtualRouter the Route belongs to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.appmesh.RouteBaseProps
getRouteName, getRouteSpec
-
Method Details
-
getMesh
The service mesh to define the route in. -
getVirtualRouter
The VirtualRouter the Route belongs to. -
builder
- Returns:
- a
RouteProps.Builder
ofRouteProps
-