Class CfnLocalGatewayVirtualInterfaceProps
Properties for defining a CfnLocalGatewayVirtualInterface.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLocalGatewayVirtualInterfaceProps : ICfnLocalGatewayVirtualInterfaceProps
Syntax (vb)
Public Class CfnLocalGatewayVirtualInterfaceProps Implements ICfnLocalGatewayVirtualInterfaceProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnLocalGatewayVirtualInterfaceProps = new CfnLocalGatewayVirtualInterfaceProps {
LocalAddress = "localAddress",
LocalGatewayVirtualInterfaceGroupId = "localGatewayVirtualInterfaceGroupId",
OutpostLagId = "outpostLagId",
PeerAddress = "peerAddress",
Vlan = 123,
// the properties below are optional
PeerBgpAsn = 123,
PeerBgpAsnExtended = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnLocalGatewayVirtualInterfaceProps() | Properties for defining a |
Properties
| LocalAddress | The local address. |
| LocalGatewayVirtualInterfaceGroupId | The ID of the local gateway virtual interface group. |
| OutpostLagId | The Outpost LAG ID. |
| PeerAddress | The peer address. |
| PeerBgpAsn | The peer BGP ASN. |
| PeerBgpAsnExtended | The extended 32-bit ASN of the BGP peer for use with larger ASN values. |
| Tags | The tags assigned to the virtual interface. |
| Vlan | The ID of the VLAN. |
Constructors
CfnLocalGatewayVirtualInterfaceProps()
Properties for defining a CfnLocalGatewayVirtualInterface.
public CfnLocalGatewayVirtualInterfaceProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var cfnLocalGatewayVirtualInterfaceProps = new CfnLocalGatewayVirtualInterfaceProps {
LocalAddress = "localAddress",
LocalGatewayVirtualInterfaceGroupId = "localGatewayVirtualInterfaceGroupId",
OutpostLagId = "outpostLagId",
PeerAddress = "peerAddress",
Vlan = 123,
// the properties below are optional
PeerBgpAsn = 123,
PeerBgpAsnExtended = 123,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
LocalAddress
The local address.
public string LocalAddress { get; set; }
Property Value
Remarks
LocalGatewayVirtualInterfaceGroupId
The ID of the local gateway virtual interface group.
public string LocalGatewayVirtualInterfaceGroupId { get; set; }
Property Value
Remarks
OutpostLagId
The Outpost LAG ID.
public string OutpostLagId { get; set; }
Property Value
Remarks
PeerAddress
The peer address.
public string PeerAddress { get; set; }
Property Value
Remarks
PeerBgpAsn
The peer BGP ASN.
public double? PeerBgpAsn { get; set; }
Property Value
Remarks
PeerBgpAsnExtended
The extended 32-bit ASN of the BGP peer for use with larger ASN values.
public double? PeerBgpAsnExtended { get; set; }
Property Value
Remarks
Tags
The tags assigned to the virtual interface.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
Vlan
The ID of the VLAN.
public double Vlan { get; set; }