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: