@Stability(value=Stable) public static final class CfnGatewayRoute.Builder extends Object implements software.amazon.jsii.Builder<CfnGatewayRoute>
CfnGatewayRoute.| Modifier and Type | Method and Description |
|---|---|
CfnGatewayRoute |
build() |
static CfnGatewayRoute.Builder |
create(software.constructs.Construct scope,
String id) |
CfnGatewayRoute.Builder |
gatewayRouteName(String gatewayRouteName)
The name of the gateway route.
|
CfnGatewayRoute.Builder |
meshName(String meshName)
The name of the service mesh that the resource resides in.
|
CfnGatewayRoute.Builder |
meshOwner(String meshOwner)
The AWS IAM account ID of the service mesh owner.
|
CfnGatewayRoute.Builder |
spec(CfnGatewayRoute.GatewayRouteSpecProperty spec)
The specifications of the gateway route.
|
CfnGatewayRoute.Builder |
spec(IResolvable spec)
The specifications of the gateway route.
|
CfnGatewayRoute.Builder |
tags(List<? extends CfnTag> tags)
Optional metadata that you can apply to the gateway route to assist with categorization and organization.
|
CfnGatewayRoute.Builder |
virtualGatewayName(String virtualGatewayName)
The virtual gateway that the gateway route is associated with.
|
@Stability(value=Stable) public static CfnGatewayRoute.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnGatewayRoute.GatewayRouteHostnameMatchProperty.Builder.@Stability(value=Stable) public CfnGatewayRoute.Builder meshName(String meshName)
meshName - The name of the service mesh that the resource resides in. This parameter is required.this@Stability(value=Stable) public CfnGatewayRoute.Builder spec(CfnGatewayRoute.GatewayRouteSpecProperty spec)
spec - The specifications of the gateway route. This parameter is required.this@Stability(value=Stable) public CfnGatewayRoute.Builder spec(IResolvable spec)
spec - The specifications of the gateway route. This parameter is required.this@Stability(value=Stable) public CfnGatewayRoute.Builder virtualGatewayName(String virtualGatewayName)
virtualGatewayName - The virtual gateway that the gateway route is associated with. This parameter is required.this@Stability(value=Stable) public CfnGatewayRoute.Builder gatewayRouteName(String gatewayRouteName)
gatewayRouteName - The name of the gateway route. This parameter is required.this@Stability(value=Stable) public CfnGatewayRoute.Builder meshOwner(String meshOwner)
If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes .
meshOwner - The AWS IAM account ID of the service mesh owner. This parameter is required.this@Stability(value=Stable) public CfnGatewayRoute.Builder tags(List<? extends CfnTag> tags)
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags - Optional metadata that you can apply to the gateway route to assist with categorization and organization. This parameter is required.this@Stability(value=Stable) public CfnGatewayRoute build()
build in interface software.amazon.jsii.Builder<CfnGatewayRoute>Copyright © 2022. All rights reserved.