@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.529Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIGatewayRoute.Jsii$Default, IGatewayRoute.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
GatewayRoute(software.constructs.Construct scope,
String id,
GatewayRouteProps props) |
protected |
GatewayRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GatewayRoute(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
String |
getGatewayRouteArn()
The Amazon Resource Name (ARN) for the GatewayRoute.
|
String |
getGatewayRouteName()
The name of the GatewayRoute.
|
IVirtualGateway |
getVirtualGateway()
The VirtualGateway this GatewayRoute is a part of.
|
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 GatewayRoute(software.amazon.jsii.JsiiObjectRef objRef)
protected GatewayRoute(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public GatewayRoute(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
GatewayRouteProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public static IGatewayRoute fromGatewayRouteArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String gatewayRouteArn)
scope - This parameter is required.id - This parameter is required.gatewayRouteArn - This parameter is required.@Stability(value=Stable) @NotNull public static IGatewayRoute fromGatewayRouteAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull GatewayRouteAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Stable) @NotNull public String getGatewayRouteArn()
getGatewayRouteArn in interface IGatewayRoute@Stability(value=Stable) @NotNull public String getGatewayRouteName()
getGatewayRouteName in interface IGatewayRoute@Stability(value=Stable) @NotNull public IVirtualGateway getVirtualGateway()
getVirtualGateway in interface IGatewayRouteCopyright © 2022. All rights reserved.