Interface CfnPrivateVirtualInterfaceMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPrivateVirtualInterfaceMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:58.099Z")
@Stability(Stable)
public interface CfnPrivateVirtualInterfaceMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnPrivateVirtualInterfacePropsMixin.
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.*;
CfnPrivateVirtualInterfaceMixinProps cfnPrivateVirtualInterfaceMixinProps = CfnPrivateVirtualInterfaceMixinProps.builder()
.allocatePrivateVirtualInterfaceRoleArn("allocatePrivateVirtualInterfaceRoleArn")
.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()))
.virtualGatewayId("virtualGatewayId")
.virtualInterfaceName("virtualInterfaceName")
.vlan(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPrivateVirtualInterfaceMixinPropsstatic final classAn implementation forCfnPrivateVirtualInterfaceMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the role to allocate the private virtual interface.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 ID or ARN of the virtual private gateway.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
-
getAllocatePrivateVirtualInterfaceRoleArn
The Amazon Resource Name (ARN) of the role to allocate the private virtual interface.Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
- See Also:
-
getBgpPeers
The BGP peers configured on this virtual interface.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPrivateVirtualInterfacePropsMixin.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:
-
getVirtualGatewayId
The ID or ARN of the virtual private gateway.- 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
-