Interface CfnTransitVirtualInterfaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitVirtualInterfaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:41.947Z")
@Stability(Stable)
public interface CfnTransitVirtualInterfaceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnTransitVirtualInterface.
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.directconnect.*;
CfnTransitVirtualInterfaceProps cfnTransitVirtualInterfaceProps = CfnTransitVirtualInterfaceProps.builder()
.bgpPeers(List.of(BgpPeerProperty.builder()
.addressFamily("addressFamily")
.asn("asn")
// the properties below are optional
.amazonAddress("amazonAddress")
.authKey("authKey")
.bgpPeerId("bgpPeerId")
.customerAddress("customerAddress")
.build()))
.connectionId("connectionId")
.directConnectGatewayId("directConnectGatewayId")
.virtualInterfaceName("virtualInterfaceName")
.vlan(123)
// the properties below are optional
.allocateTransitVirtualInterfaceRoleArn("allocateTransitVirtualInterfaceRoleArn")
.enableSiteLink(false)
.mtu(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransitVirtualInterfacePropsstatic final classAn implementation forCfnTransitVirtualInterfaceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation.The BGP peers configured on this virtual interface..Returns union: eitherStringorIDirectConnectGatewayRefdefault ObjectIndicates whether to enable or disable SiteLink.default NumbergetMtu()The maximum transmission unit (MTU), in bytes.getTags()The tags associated with the private virtual interface.The name of the virtual interface assigned by the customer network.getVlan()The ID of the VLAN.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBgpPeers
The BGP peers configured on this virtual interface..Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTransitVirtualInterface.BgpPeerProperty>- See Also:
-
getConnectionId
- See Also:
-
getDirectConnectGatewayId
Returns union: eitherStringorIDirectConnectGatewayRef- See Also:
-
getVirtualInterfaceName
The name of the virtual interface assigned by the customer network.The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
- See Also:
-
getVlan
The ID of the VLAN.- See Also:
-
getAllocateTransitVirtualInterfaceRoleArn
The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation.Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.
- See Also:
-
getEnableSiteLink
Indicates whether to enable or disable SiteLink.Returns union: either
BooleanorIResolvable- See Also:
-
getMtu
The maximum transmission unit (MTU), in bytes.The supported values are 1500 and 9001. The default value is 1500.
- See Also:
-
getTags
The tags associated with the private virtual interface.- See Also:
-
builder
-