@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.363Z") @Stability(value=Stable) public interface CfnTransitGatewayProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTransitGatewayProps.Builder
A builder for
CfnTransitGatewayProps |
static class |
CfnTransitGatewayProps.Jsii$Proxy
An implementation for
CfnTransitGatewayProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnTransitGatewayProps.Builder |
builder() |
default Number |
getAmazonSideAsn()
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
default String |
getAssociationDefaultRouteTableId()
The ID of the default association route table.
|
default String |
getAutoAcceptSharedAttachments()
Enable or disable automatic acceptance of attachment requests.
|
default String |
getDefaultRouteTableAssociation()
Enable or disable automatic association with the default association route table.
|
default String |
getDefaultRouteTablePropagation()
Enable or disable automatic propagation of routes to the default propagation route table.
|
default String |
getDescription()
The description of the transit gateway.
|
default String |
getDnsSupport()
Enable or disable DNS support.
|
default String |
getMulticastSupport()
Indicates whether multicast is enabled on the transit gateway.
|
default String |
getPropagationDefaultRouteTableId()
The ID of the default propagation route table.
|
default List<CfnTag> |
getTags()
The tags for the transit gateway.
|
default List<String> |
getTransitGatewayCidrBlocks()
The transit gateway CIDR blocks.
|
default String |
getVpnEcmpSupport()
Enable or disable Equal Cost Multipath Protocol support.
|
@Stability(value=Stable) @Nullable default Number getAmazonSideAsn()
The range is 64512 to 65534 for 16-bit ASNs. The default is 64512.
@Stability(value=Stable) @Nullable default String getAssociationDefaultRouteTableId()
@Stability(value=Stable) @Nullable default String getAutoAcceptSharedAttachments()
Disabled by default.
@Stability(value=Stable) @Nullable default String getDefaultRouteTableAssociation()
Enabled by default.
@Stability(value=Stable) @Nullable default String getDefaultRouteTablePropagation()
Enabled by default.
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getDnsSupport()
Enabled by default.
@Stability(value=Stable) @Nullable default String getMulticastSupport()
@Stability(value=Stable) @Nullable default String getPropagationDefaultRouteTableId()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default List<String> getTransitGatewayCidrBlocks()
@Stability(value=Stable) @Nullable default String getVpnEcmpSupport()
Enabled by default.
@Stability(value=Stable) static CfnTransitGatewayProps.Builder builder()
CfnTransitGatewayProps.Builder of CfnTransitGatewayPropsCopyright © 2022. All rights reserved.