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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTransitGatewayProps
static final class
An implementation forCfnTransitGatewayProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Number
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.default String
The ID of the default association route table.default String
Enable or disable automatic acceptance of attachment requests.default String
Enable or disable automatic association with the default association route table.default String
Enable or disable automatic propagation of routes to the default propagation route table.default String
The description of the transit gateway.default String
Enable or disable DNS support.default String
Indicates whether multicast is enabled on the transit gateway.default String
The ID of the default propagation route table.getTags()
The tags for the transit gateway.The transit gateway CIDR blocks.default String
Enable or disable Equal Cost Multipath Protocol support.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
The ID of the default association route table. -
getDefaultRouteTableAssociation
Enable or disable automatic association with the default association route table.Enabled by default.
-
getDefaultRouteTablePropagation
Enable or disable automatic propagation of routes to the default propagation route table.Enabled by default.
-
getDescription
The description of the transit gateway. -
getDnsSupport
Enable or disable DNS support.Enabled by default.
-
getMulticastSupport
Indicates whether multicast is enabled on the transit gateway. -
getPropagationDefaultRouteTableId
The ID of the default propagation route table. -
getTags
The tags for the transit gateway. -
getTransitGatewayCidrBlocks
The transit gateway CIDR blocks. -
getVpnEcmpSupport
Enable or disable Equal Cost Multipath Protocol support.Enabled by default.
-
builder
- Returns:
- a
CfnTransitGatewayProps.Builder
ofCfnTransitGatewayProps
-