Interface CfnTransitGatewayProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTransitGatewayProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.111Z") @Stability(Stable) public interface CfnTransitGatewayProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnTransitGateway.

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.*;
 CfnTransitGatewayProps cfnTransitGatewayProps = CfnTransitGatewayProps.builder()
         .amazonSideAsn(123)
         .associationDefaultRouteTableId("associationDefaultRouteTableId")
         .autoAcceptSharedAttachments("autoAcceptSharedAttachments")
         .defaultRouteTableAssociation("defaultRouteTableAssociation")
         .defaultRouteTablePropagation("defaultRouteTablePropagation")
         .description("description")
         .dnsSupport("dnsSupport")
         .multicastSupport("multicastSupport")
         .propagationDefaultRouteTableId("propagationDefaultRouteTableId")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .transitGatewayCidrBlocks(List.of("transitGatewayCidrBlocks"))
         .vpnEcmpSupport("vpnEcmpSupport")
         .build();
 
  • Method Details

    • getAmazonSideAsn

      @Stability(Stable) @Nullable default Number getAmazonSideAsn()
      A private Autonomous System Number (ASN) for the Amazon side of a BGP session.

      The range is 64512 to 65534 for 16-bit ASNs. The default is 64512.

    • getAssociationDefaultRouteTableId

      @Stability(Stable) @Nullable default String getAssociationDefaultRouteTableId()
      The ID of the default association route table.
    • getAutoAcceptSharedAttachments

      @Stability(Stable) @Nullable default String getAutoAcceptSharedAttachments()
      Enable or disable automatic acceptance of attachment requests.

      Disabled by default.

    • getDefaultRouteTableAssociation

      @Stability(Stable) @Nullable default String getDefaultRouteTableAssociation()
      Enable or disable automatic association with the default association route table.

      Enabled by default.

    • getDefaultRouteTablePropagation

      @Stability(Stable) @Nullable default String getDefaultRouteTablePropagation()
      Enable or disable automatic propagation of routes to the default propagation route table.

      Enabled by default.

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the transit gateway.
    • getDnsSupport

      @Stability(Stable) @Nullable default String getDnsSupport()
      Enable or disable DNS support.

      Enabled by default.

    • getMulticastSupport

      @Stability(Stable) @Nullable default String getMulticastSupport()
      Indicates whether multicast is enabled on the transit gateway.
    • getPropagationDefaultRouteTableId

      @Stability(Stable) @Nullable default String getPropagationDefaultRouteTableId()
      The ID of the default propagation route table.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags for the transit gateway.
    • getTransitGatewayCidrBlocks

      @Stability(Stable) @Nullable default List<String> getTransitGatewayCidrBlocks()
      The transit gateway CIDR blocks.
    • getVpnEcmpSupport

      @Stability(Stable) @Nullable default String getVpnEcmpSupport()
      Enable or disable Equal Cost Multipath Protocol support.

      Enabled by default.

    • builder

      @Stability(Stable) static CfnTransitGatewayProps.Builder builder()
      Returns:
      a CfnTransitGatewayProps.Builder of CfnTransitGatewayProps