Class TransitGatewayRouteTable
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.ec2.alpha.TransitGatewayRouteTable
- All Implemented Interfaces:
IEnvironmentAware,IResource,ITransitGatewayRouteTable,IRouteTable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:21.302Z")
@Stability(Experimental)
public class TransitGatewayRouteTable
extends Resource
implements ITransitGatewayRouteTable
(experimental) Creates a Transit Gateway route table.
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.*;
TransitGateway transitGateway;
TransitGatewayRouteTable transitGatewayRouteTable = TransitGatewayRouteTable.Builder.create(this, "MyTransitGatewayRouteTable")
.transitGateway(transitGateway)
// the properties below are optional
.transitGatewayRouteTableName("transitGatewayRouteTableName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class(experimental) A fluent builder forTransitGatewayRouteTable.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.alpha.ITransitGatewayRouteTable
ITransitGatewayRouteTable.Jsii$Default, ITransitGatewayRouteTable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String(experimental) Uniquely identifies this class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTransitGatewayRouteTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedTransitGatewayRouteTable(software.amazon.jsii.JsiiObjectRef objRef) TransitGatewayRouteTable(software.constructs.Construct scope, String id, TransitGatewayRouteTableProps props) -
Method Summary
Modifier and TypeMethodDescriptionaddAssociation(String id, ITransitGatewayAttachment transitGatewayAttachment) (experimental) Associate the provided Attachments with this route table.addBlackholeRoute(String id, String destinationCidr) (experimental) Add a blackhole route to this route table.addRoute(String id, ITransitGatewayAttachment transitGatewayAttachment, String destinationCidr) (experimental) Add an active route to this route table.enablePropagation(String id, ITransitGatewayAttachment transitGatewayAttachment) (experimental) Enable propagation from the provided Attachments to this route table.(experimental) Route table ID.(experimental) The Transit Gateway.Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
-
-
Constructor Details
-
TransitGatewayRouteTable
protected TransitGatewayRouteTable(software.amazon.jsii.JsiiObjectRef objRef) -
TransitGatewayRouteTable
protected TransitGatewayRouteTable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
TransitGatewayRouteTable
@Stability(Experimental) public TransitGatewayRouteTable(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull TransitGatewayRouteTableProps props) - Parameters:
scope- This parameter is required.id- This parameter is required.props- This parameter is required.
-
-
Method Details
-
addAssociation
@Stability(Experimental) @NotNull public ITransitGatewayRouteTableAssociation addAssociation(@NotNull String id, @NotNull ITransitGatewayAttachment transitGatewayAttachment) (experimental) Associate the provided Attachments with this route table.- Specified by:
addAssociationin interfaceITransitGatewayRouteTable- Parameters:
id- This parameter is required.transitGatewayAttachment- This parameter is required.- Returns:
- ITransitGatewayRouteTableAssociation
-
addBlackholeRoute
@Stability(Experimental) @NotNull public ITransitGatewayRoute addBlackholeRoute(@NotNull String id, @NotNull String destinationCidr) (experimental) Add a blackhole route to this route table.- Specified by:
addBlackholeRoutein interfaceITransitGatewayRouteTable- Parameters:
id- This parameter is required.destinationCidr- This parameter is required.- Returns:
- ITransitGatewayRoute
-
addRoute
@Stability(Experimental) @NotNull public ITransitGatewayRoute addRoute(@NotNull String id, @NotNull ITransitGatewayAttachment transitGatewayAttachment, @NotNull String destinationCidr) (experimental) Add an active route to this route table.- Specified by:
addRoutein interfaceITransitGatewayRouteTable- Parameters:
id- This parameter is required.transitGatewayAttachment- This parameter is required.destinationCidr- This parameter is required.- Returns:
- ITransitGatewayRoute
-
enablePropagation
@Stability(Experimental) @NotNull public ITransitGatewayRouteTablePropagation enablePropagation(@NotNull String id, @NotNull ITransitGatewayAttachment transitGatewayAttachment) (experimental) Enable propagation from the provided Attachments to this route table.- Specified by:
enablePropagationin interfaceITransitGatewayRouteTable- Parameters:
id- This parameter is required.transitGatewayAttachment- This parameter is required.- Returns:
- ITransitGatewayRouteTablePropagation
-
getRouteTableId
(experimental) Route table ID.- Specified by:
getRouteTableIdin interfaceIRouteTable
-
getTransitGateway
(experimental) The Transit Gateway.
-