Interface CfnPublicVirtualInterfaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPublicVirtualInterfaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:41.944Z")
@Stability(Stable)
public interface CfnPublicVirtualInterfaceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPublicVirtualInterface.
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.*;
CfnPublicVirtualInterfaceProps cfnPublicVirtualInterfaceProps = CfnPublicVirtualInterfaceProps.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")
.virtualInterfaceName("virtualInterfaceName")
.vlan(123)
// the properties below are optional
.allocatePublicVirtualInterfaceRoleArn("allocatePublicVirtualInterfaceRoleArn")
.routeFilterPrefixes(List.of("routeFilterPrefixes"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPublicVirtualInterfacePropsstatic final classAn implementation forCfnPublicVirtualInterfaceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the role to allocate the public virtual interface.The BGP peers configured on this virtual interface.The routes to be advertised to the AWS network in this region.getTags()The tags associated with the public 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: '<'eitherIResolvableorCfnPublicVirtualInterface.BgpPeerProperty>- See Also:
-
getConnectionId
- 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:
-
getAllocatePublicVirtualInterfaceRoleArn
The Amazon Resource Name (ARN) of the role to allocate the public virtual interface.Needs directconnect:AllocatePublicVirtualInterface permissions and tag permissions if applicable.
- See Also:
-
getRouteFilterPrefixes
The routes to be advertised to the AWS network in this region.- See Also:
-
getTags
The tags associated with the public virtual interface.- See Also:
-
builder
-