Class CfnTransitGatewayRoutePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayRoutePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitGatewayRoutePropsMixin>
- Enclosing class:
CfnTransitGatewayRoutePropsMixin
@Stability(Stable)
public static final class CfnTransitGatewayRoutePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitGatewayRoutePropsMixin>
A fluent builder for
CfnTransitGatewayRoutePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionIndicates whether to drop traffic that matches this route.blackhole(IResolvable blackhole) Indicates whether to drop traffic that matches this route.build()create()create(CfnPropertyMixinOptions options) destinationCidrBlock(String destinationCidrBlock) The CIDR block used for destination matches.transitGatewayAttachmentId(String transitGatewayAttachmentId) The ID of the attachment.transitGatewayAttachmentId(ITransitGatewayAttachmentRef transitGatewayAttachmentId) The ID of the attachment.transitGatewayAttachmentId(ITransitGatewayPeeringAttachmentRef transitGatewayAttachmentId) The ID of the attachment.transitGatewayRouteTableId(String transitGatewayRouteTableId) The ID of the transit gateway route table.transitGatewayRouteTableId(ITransitGatewayRouteTableRef transitGatewayRouteTableId) The ID of the transit gateway route table.
-
Method Details
-
create
@Stability(Stable) public static CfnTransitGatewayRoutePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTransitGatewayRoutePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTransitGatewayRoutePropsMixin.Builder.
-
blackhole
Indicates whether to drop traffic that matches this route.- Parameters:
blackhole- Indicates whether to drop traffic that matches this route. This parameter is required.- Returns:
this- See Also:
-
blackhole
Indicates whether to drop traffic that matches this route.- Parameters:
blackhole- Indicates whether to drop traffic that matches this route. This parameter is required.- Returns:
this- See Also:
-
destinationCidrBlock
@Stability(Stable) public CfnTransitGatewayRoutePropsMixin.Builder destinationCidrBlock(String destinationCidrBlock) The CIDR block used for destination matches.- Parameters:
destinationCidrBlock- The CIDR block used for destination matches. This parameter is required.- Returns:
this- See Also:
-
transitGatewayAttachmentId
@Stability(Stable) public CfnTransitGatewayRoutePropsMixin.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) The ID of the attachment.- Parameters:
transitGatewayAttachmentId- The ID of the attachment. This parameter is required.- Returns:
this- See Also:
-
transitGatewayAttachmentId
@Stability(Stable) public CfnTransitGatewayRoutePropsMixin.Builder transitGatewayAttachmentId(ITransitGatewayAttachmentRef transitGatewayAttachmentId) The ID of the attachment.- Parameters:
transitGatewayAttachmentId- The ID of the attachment. This parameter is required.- Returns:
this- See Also:
-
transitGatewayAttachmentId
@Stability(Stable) public CfnTransitGatewayRoutePropsMixin.Builder transitGatewayAttachmentId(ITransitGatewayPeeringAttachmentRef transitGatewayAttachmentId) The ID of the attachment.- Parameters:
transitGatewayAttachmentId- The ID of the attachment. This parameter is required.- Returns:
this- See Also:
-
transitGatewayRouteTableId
@Stability(Stable) public CfnTransitGatewayRoutePropsMixin.Builder transitGatewayRouteTableId(String transitGatewayRouteTableId) The ID of the transit gateway route table.- Parameters:
transitGatewayRouteTableId- The ID of the transit gateway route table. This parameter is required.- Returns:
this- See Also:
-
transitGatewayRouteTableId
@Stability(Stable) public CfnTransitGatewayRoutePropsMixin.Builder transitGatewayRouteTableId(ITransitGatewayRouteTableRef transitGatewayRouteTableId) The ID of the transit gateway route table.- Parameters:
transitGatewayRouteTableId- The ID of the transit gateway route table. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTransitGatewayRoutePropsMixin>- Returns:
- a newly built instance of
CfnTransitGatewayRoutePropsMixin.
-