Interface CfnLocalGatewayVirtualInterfaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocalGatewayVirtualInterfaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:18.984Z")
@Stability(Stable)
public interface CfnLocalGatewayVirtualInterfaceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnLocalGatewayVirtualInterface.
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.ec2.*;
CfnLocalGatewayVirtualInterfaceProps cfnLocalGatewayVirtualInterfaceProps = CfnLocalGatewayVirtualInterfaceProps.builder()
.localAddress("localAddress")
.localGatewayVirtualInterfaceGroupId("localGatewayVirtualInterfaceGroupId")
.outpostLagId("outpostLagId")
.peerAddress("peerAddress")
.vlan(123)
// the properties below are optional
.peerBgpAsn(123)
.peerBgpAsnExtended(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLocalGatewayVirtualInterfacePropsstatic final classAn implementation forCfnLocalGatewayVirtualInterfaceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The local address.The ID of the local gateway virtual interface group.The Outpost LAG ID.The peer address.default NumberThe peer BGP ASN.default NumberThe extended 32-bit ASN of the BGP peer for use with larger ASN values.getTags()The tags assigned to the virtual interface.getVlan()The ID of the VLAN.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLocalAddress
The local address.- See Also:
-
getLocalGatewayVirtualInterfaceGroupId
The ID of the local gateway virtual interface group.- See Also:
-
getOutpostLagId
The Outpost LAG ID.- See Also:
-
getPeerAddress
The peer address.- See Also:
-
getVlan
The ID of the VLAN.- See Also:
-
getPeerBgpAsn
The peer BGP ASN.- See Also:
-
getPeerBgpAsnExtended
The extended 32-bit ASN of the BGP peer for use with larger ASN values.- See Also:
-
getTags
The tags assigned to the virtual interface.- See Also:
-
builder
-