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 classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.appmesh.IGatewayRoute
IGatewayRoute.Jsii$Default, IGatewayRoute.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IResource
IResource.Jsii$Default
-
Constructor Summary
ModifierConstructorDescriptionprotected
GatewayRoute
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
GatewayRoute
(software.amazon.jsii.JsiiObjectRef objRef) GatewayRoute
(software.constructs.Construct scope, String id, GatewayRouteProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IGatewayRoute
fromGatewayRouteArn
(software.constructs.Construct scope, String id, String gatewayRouteArn) Import an existing GatewayRoute given an ARN.static IGatewayRoute
fromGatewayRouteAttributes
(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, isResource
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
toString
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods 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:
getGatewayRouteArn
in interfaceIGatewayRoute
-
getGatewayRouteName
The name of the GatewayRoute.- Specified by:
getGatewayRouteName
in interfaceIGatewayRoute
-
getVirtualGateway
The VirtualGateway this GatewayRoute is a part of.- Specified by:
getVirtualGateway
in interfaceIGatewayRoute
-