Interface CfnTransitGatewayRouteProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayRouteProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:09.053Z")
@Stability(Stable)
public interface CfnTransitGatewayRouteProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTransitGatewayRoute.
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.ec2.*;
CfnTransitGatewayRouteProps cfnTransitGatewayRouteProps = CfnTransitGatewayRouteProps.builder()
.destinationCidrBlock("destinationCidrBlock")
.transitGatewayRouteTableId("transitGatewayRouteTableId")
// the properties below are optional
.blackhole(false)
.transitGatewayAttachmentId("transitGatewayAttachmentId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransitGatewayRoutePropsstatic final classAn implementation forCfnTransitGatewayRouteProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestinationCidrBlock
The CIDR block used for destination matches.- See Also:
-
getTransitGatewayRouteTableId
The ID of the transit gateway route table.Returns union: either
StringorITransitGatewayRouteTableRef- See Also:
-
getBlackhole
Indicates whether to drop traffic that matches this route.Returns union: either
BooleanorIResolvable- See Also:
-
getTransitGatewayAttachmentId
The ID of the attachment.Returns union: either
StringorITransitGatewayAttachmentReforITransitGatewayPeeringAttachmentRef- See Also:
-
builder
-