Class CfnRouteServerPeerProps
Properties for defining a CfnRouteServerPeer.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnRouteServerPeerProps : ICfnRouteServerPeerProps
Syntax (vb)
Public Class CfnRouteServerPeerProps Implements ICfnRouteServerPeerProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routeserverpeer.html
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 cfnRouteServerPeerProps = new CfnRouteServerPeerProps {
BgpOptions = new BgpOptionsProperty {
PeerAsn = 123,
PeerLivenessDetection = "peerLivenessDetection"
},
PeerAddress = "peerAddress",
RouteServerEndpointId = "routeServerEndpointId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnRouteServerPeerProps() | Properties for defining a |
Properties
| BgpOptions | The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings. |
| PeerAddress | The IPv4 address of the peer device. |
| RouteServerEndpointId | The ID of the route server endpoint associated with this peer. |
| Tags | Any tags assigned to the route server peer. |
Constructors
CfnRouteServerPeerProps()
Properties for defining a CfnRouteServerPeer.
public CfnRouteServerPeerProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routeserverpeer.html
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 cfnRouteServerPeerProps = new CfnRouteServerPeerProps {
BgpOptions = new BgpOptionsProperty {
PeerAsn = 123,
PeerLivenessDetection = "peerLivenessDetection"
},
PeerAddress = "peerAddress",
RouteServerEndpointId = "routeServerEndpointId",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
BgpOptions
The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
public object BgpOptions { get; set; }
Property Value
Remarks
PeerAddress
The IPv4 address of the peer device.
public string PeerAddress { get; set; }
Property Value
Remarks
RouteServerEndpointId
The ID of the route server endpoint associated with this peer.
public string RouteServerEndpointId { get; set; }
Property Value
Remarks
Tags
Any tags assigned to the route server peer.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]