Class GatewayRoute
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.Resource
software.amazon.awscdk.services.appmesh.GatewayRoute
- All Implemented Interfaces:
IConstruct,IDependable,IResource,IGatewayRoute,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.026Z")
@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();
-
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.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested 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.core.IResource
IResource.Jsii$Default -
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.core.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourceMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.constructs.Construct
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.amazon.awscdk.core.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
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
-