Class CfnGatewayRoute.Builder
java.lang.Object
software.amazon.awscdk.services.appmesh.CfnGatewayRoute.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRoute>
- Enclosing class:
CfnGatewayRoute
@Stability(Stable)
public static final class CfnGatewayRoute.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRoute>
A fluent builder for
CfnGatewayRoute
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnGatewayRoute.Builder
gatewayRouteName
(String gatewayRouteName) The name of the gateway route.The name of the service mesh that the resource resides in.The AWS IAM account ID of the service mesh owner.spec
(IResolvable spec) The specifications of the gateway route.The specifications of the gateway route.Optional metadata that you can apply to the gateway route to assist with categorization and organization.virtualGatewayName
(String virtualGatewayName) The virtual gateway that the gateway route is associated with.
-
Method Details
-
create
@Stability(Stable) public static CfnGatewayRoute.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnGatewayRoute.Builder
.
-
meshName
The name of the service mesh that the resource resides in.- Parameters:
meshName
- The name of the service mesh that the resource resides in. This parameter is required.- Returns:
this
- See Also:
-
spec
The specifications of the gateway route.- Parameters:
spec
- The specifications of the gateway route. This parameter is required.- Returns:
this
- See Also:
-
spec
@Stability(Stable) public CfnGatewayRoute.Builder spec(CfnGatewayRoute.GatewayRouteSpecProperty spec) The specifications of the gateway route.- Parameters:
spec
- The specifications of the gateway route. This parameter is required.- Returns:
this
- See Also:
-
virtualGatewayName
The virtual gateway that the gateway route is associated with.- Parameters:
virtualGatewayName
- The virtual gateway that the gateway route is associated with. This parameter is required.- Returns:
this
- See Also:
-
gatewayRouteName
The name of the gateway route.- Parameters:
gatewayRouteName
- The name of the gateway route. This parameter is required.- Returns:
this
- See Also:
-
meshOwner
The AWS IAM account ID of the service mesh owner.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 .
- Parameters:
meshOwner
- The AWS IAM account ID of the service mesh owner. This parameter is required.- Returns:
this
- See Also:
-
tags
Optional metadata that you can apply to the gateway route to assist with categorization and organization.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.
- Parameters:
tags
- Optional metadata that you can apply to the gateway route to assist with categorization and organization. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGatewayRoute>
- Returns:
- a newly built instance of
CfnGatewayRoute
.
-