@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:48.555Z") public class GatewayRoute extends Resource implements IGatewayRoute
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();
Modifier and Type | Class and Description |
---|---|
static class |
GatewayRoute.Builder
A fluent builder for
GatewayRoute . |
IGatewayRoute.Jsii$Default, IGatewayRoute.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
GatewayRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GatewayRoute(software.amazon.jsii.JsiiObjectRef objRef) |
|
GatewayRoute(software.constructs.Construct scope,
java.lang.String id,
GatewayRouteProps props) |
Modifier and Type | Method and Description |
---|---|
static IGatewayRoute |
fromGatewayRouteArn(software.constructs.Construct scope,
java.lang.String id,
java.lang.String gatewayRouteArn)
Import an existing GatewayRoute given an ARN.
|
static IGatewayRoute |
fromGatewayRouteAttributes(software.constructs.Construct scope,
java.lang.String id,
GatewayRouteAttributes attrs)
Import an existing GatewayRoute given attributes.
|
java.lang.String |
getGatewayRouteArn()
The Amazon Resource Name (ARN) for the GatewayRoute.
|
java.lang.String |
getGatewayRouteName()
The name of the GatewayRoute.
|
IVirtualGateway |
getVirtualGateway()
The VirtualGateway this GatewayRoute is a part of.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected GatewayRoute(software.amazon.jsii.JsiiObjectRef objRef)
protected GatewayRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public GatewayRoute(software.constructs.Construct scope, java.lang.String id, GatewayRouteProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public static IGatewayRoute fromGatewayRouteArn(software.constructs.Construct scope, java.lang.String id, java.lang.String gatewayRouteArn)
scope
- This parameter is required.id
- This parameter is required.gatewayRouteArn
- This parameter is required.public static IGatewayRoute fromGatewayRouteAttributes(software.constructs.Construct scope, java.lang.String id, GatewayRouteAttributes attrs)
scope
- This parameter is required.id
- This parameter is required.attrs
- This parameter is required.public java.lang.String getGatewayRouteArn()
getGatewayRouteArn
in interface IGatewayRoute
public java.lang.String getGatewayRouteName()
getGatewayRouteName
in interface IGatewayRoute
public IVirtualGateway getVirtualGateway()
getVirtualGateway
in interface IGatewayRoute