Interface TransitGatewayRouteProps
- All Superinterfaces:
BaseTransitGatewayRouteProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
TransitGatewayRouteProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:51.452Z")
@Stability(Experimental)
public interface TransitGatewayRouteProps
extends software.amazon.jsii.JsiiSerializable, BaseTransitGatewayRouteProps
(experimental) Common properties for a Transit Gateway Route.
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.alpha.*;
ITransitGatewayAttachment transitGatewayAttachment;
TransitGatewayRouteTable transitGatewayRouteTable;
TransitGatewayRouteProps transitGatewayRouteProps = TransitGatewayRouteProps.builder()
.destinationCidrBlock("destinationCidrBlock")
.transitGatewayAttachment(transitGatewayAttachment)
.transitGatewayRouteTable(transitGatewayRouteTable)
// the properties below are optional
.transitGatewayRouteName("transitGatewayRouteName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forTransitGatewayRoutePropsstatic final classAn implementation forTransitGatewayRouteProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) The transit gateway attachment to route the traffic to.Methods inherited from interface software.amazon.awscdk.services.ec2.alpha.BaseTransitGatewayRouteProps
getDestinationCidrBlock, getTransitGatewayRouteName, getTransitGatewayRouteTableMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTransitGatewayAttachment
(experimental) The transit gateway attachment to route the traffic to. -
builder
- Returns:
- a
TransitGatewayRouteProps.BuilderofTransitGatewayRouteProps
-