Interface CfnTransitVirtualInterfaceMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTransitVirtualInterfaceMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:58.103Z")
@Stability(Stable)
public interface CfnTransitVirtualInterfaceMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnTransitVirtualInterfacePropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.directconnect.*;
CfnTransitVirtualInterfaceMixinProps cfnTransitVirtualInterfaceMixinProps = CfnTransitVirtualInterfaceMixinProps.builder()
.allocateTransitVirtualInterfaceRoleArn("allocateTransitVirtualInterfaceRoleArn")
.bgpPeers(List.of(BgpPeerProperty.builder()
.addressFamily("addressFamily")
.amazonAddress("amazonAddress")
.asn("asn")
.authKey("authKey")
.bgpPeerId("bgpPeerId")
.customerAddress("customerAddress")
.build()))
.connectionId("connectionId")
.directConnectGatewayId("directConnectGatewayId")
.enableSiteLink(false)
.mtu(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.virtualInterfaceName("virtualInterfaceName")
.vlan(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTransitVirtualInterfaceMixinPropsstatic final classAn implementation forCfnTransitVirtualInterfaceMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation.default ObjectThe BGP peers configured on this virtual interface..default Objectdefault ObjectReturns 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.default StringThe name of the virtual interface assigned by the customer network.default NumbergetVlan()The ID of the VLAN.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllocateTransitVirtualInterfaceRoleArn
The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation.Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.
- See Also:
-
getBgpPeers
The BGP peers configured on this virtual interface..Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTransitVirtualInterfacePropsMixin.BgpPeerProperty>- See Also:
-
getConnectionId
- See Also:
-
getDirectConnectGatewayId
Returns union: eitherStringorIDirectConnectGatewayRef- 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:
-
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:
-
builder
-