@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.569Z") @Stability(value=Stable) public class Route extends Resource implements IRoute
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;
Route route = Route.Builder.create(this, "MyRoute")
.mesh(mesh)
.routeSpec(routeSpec)
.virtualRouter(virtualRouter)
// the properties below are optional
.routeName("routeName")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
Route.Builder
A fluent builder for
Route. |
software.amazon.jsii.JsiiObject.InitializationModeIRoute.Jsii$Default, IRoute.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
Route(software.constructs.Construct scope,
String id,
RouteProps props) |
protected |
Route(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Route(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IRoute |
fromRouteArn(software.constructs.Construct scope,
String id,
String routeArn)
Import an existing Route given an ARN.
|
static IRoute |
fromRouteAttributes(software.constructs.Construct scope,
String id,
RouteAttributes attrs)
Import an existing Route given attributes.
|
String |
getRouteArn()
The Amazon Resource Name (ARN) for the route.
|
String |
getRouteName()
The name of the Route.
|
IVirtualRouter |
getVirtualRouter()
The VirtualRouter the Route belongs to.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected Route(software.amazon.jsii.JsiiObjectRef objRef)
protected Route(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public Route(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
RouteProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public static IRoute fromRouteArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String routeArn)
scope - This parameter is required.id - This parameter is required.routeArn - This parameter is required.@Stability(value=Stable) @NotNull public static IRoute fromRouteAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull RouteAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Stable) @NotNull public String getRouteArn()
getRouteArn in interface IRoute@Stability(value=Stable) @NotNull public String getRouteName()
getRouteName in interface IRoute@Stability(value=Stable) @NotNull public IVirtualRouter getVirtualRouter()
getVirtualRouter in interface IRouteCopyright © 2022. All rights reserved.