Interface CfnTransitGatewayProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitGatewayProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:58.218Z")
@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") .securityGroupReferencingSupport("securityGroupReferencingSupport") .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.default String
Enables you to reference a security group across VPCs attached to a transit gateway (TGW).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:
-
getSecurityGroupReferencingSupport
Enables you to reference a security group across VPCs attached to a transit gateway (TGW).Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.
For important information about this feature, see Create a transit gateway in the AWS Transit Gateway Guide .
- 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
-