Interface CfnTransitGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-07-12T19:34:00.774Z")
@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();
- See Also:
-
Nested Class Summary
Modifier 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.
- See Also:
-
getAssociationDefaultRouteTableId
The ID of the default association route table.- See Also:
-
getDefaultRouteTableAssociation
Enable or disable automatic association with the default association route table.Enabled by default.
- See Also:
-
getDefaultRouteTablePropagation
Enable or disable automatic propagation of routes to the default propagation route table.Enabled by default.
- See Also:
-
getDescription
The description of the transit gateway.- See Also:
-
getDnsSupport
Enable or disable DNS support.Enabled by default.
- See Also:
-
getMulticastSupport
Indicates whether multicast is enabled on the transit gateway.- See Also:
-
getPropagationDefaultRouteTableId
The ID of the default propagation route table.- See Also:
-
getTags
The tags for the transit gateway.- See Also:
-
getTransitGatewayCidrBlocks
The transit gateway CIDR blocks.- See Also:
-
getVpnEcmpSupport
Enable or disable Equal Cost Multipath Protocol support.Enabled by default.
- See Also:
-
builder
- Returns:
- a
CfnTransitGatewayProps.Builder
ofCfnTransitGatewayProps
-