Interface RouteProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,RouteBaseProps
- All Known Implementing Classes:
RouteProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:39:58.238Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forRoutePropsstatic final classAn implementation forRouteProps -
Method Summary
Modifier and TypeMethodDescriptionstatic RouteProps.Builderbuilder()getMesh()The service mesh to define the route in.The VirtualRouter the Route belongs to.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods 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.BuilderofRouteProps
-