Class GatewayRoute
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.appmesh.GatewayRoute
- All Implemented Interfaces:
IEnvironmentAware,IResource,IGatewayRoute,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:09:58.665Z")
@Stability(Stable)
public class GatewayRoute
extends Resource
implements IGatewayRoute
GatewayRoute represents a new or existing gateway route attached to a VirtualGateway and Mesh.
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.*;
GatewayRouteSpec gatewayRouteSpec;
VirtualGateway virtualGateway;
GatewayRoute gatewayRoute = GatewayRoute.Builder.create(this, "MyGatewayRoute")
.routeSpec(gatewayRouteSpec)
.virtualGateway(virtualGateway)
// the properties below are optional
.gatewayRouteName("gatewayRouteName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.appmesh.IGatewayRoute
IGatewayRoute.Jsii$Default, IGatewayRoute.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGatewayRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedGatewayRoute(software.amazon.jsii.JsiiObjectRef objRef) GatewayRoute(software.constructs.Construct scope, String id, GatewayRouteProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IGatewayRoutefromGatewayRouteArn(software.constructs.Construct scope, String id, String gatewayRouteArn) Import an existing GatewayRoute given an ARN.static IGatewayRoutefromGatewayRouteAttributes(software.constructs.Construct scope, String id, GatewayRouteAttributes attrs) Import an existing GatewayRoute given attributes.The Amazon Resource Name (ARN) for the GatewayRoute.The name of the GatewayRoute.The VirtualGateway this GatewayRoute is a part of.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
Uniquely identifies this class.
-
-
Constructor Details
-
GatewayRoute
protected GatewayRoute(software.amazon.jsii.JsiiObjectRef objRef) -
GatewayRoute
protected GatewayRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
GatewayRoute
@Stability(Stable) public GatewayRoute(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull GatewayRouteProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
fromGatewayRouteArn
@Stability(Stable) @NotNull public static IGatewayRoute fromGatewayRouteArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String gatewayRouteArn) Import an existing GatewayRoute given an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.gatewayRouteArn- This parameter is required.
-
fromGatewayRouteAttributes
@Stability(Stable) @NotNull public static IGatewayRoute fromGatewayRouteAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull GatewayRouteAttributes attrs) Import an existing GatewayRoute given attributes.- Parameters:
scope- This parameter is required.id- This parameter is required.attrs- This parameter is required.
-
getGatewayRouteArn
The Amazon Resource Name (ARN) for the GatewayRoute.- Specified by:
getGatewayRouteArnin interfaceIGatewayRoute
-
getGatewayRouteName
The name of the GatewayRoute.- Specified by:
getGatewayRouteNamein interfaceIGatewayRoute
-
getVirtualGateway
The VirtualGateway this GatewayRoute is a part of.- Specified by:
getVirtualGatewayin interfaceIGatewayRoute
-