interface CfnRouteServerPeerProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.CfnRouteServerPeerProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#CfnRouteServerPeerProps |
Java | software.amazon.awscdk.services.ec2.CfnRouteServerPeerProps |
Python | aws_cdk.aws_ec2.CfnRouteServerPeerProps |
TypeScript | aws-cdk-lib » aws_ec2 » CfnRouteServerPeerProps |
Properties for defining a CfnRouteServerPeer.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routeserverpeer.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnRouteServerPeerProps: ec2.CfnRouteServerPeerProps = {
bgpOptions: {
peerAsn: 123,
peerLivenessDetection: 'peerLivenessDetection',
},
peerAddress: 'peerAddress',
routeServerEndpointId: 'routeServerEndpointId',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| bgp | IResolvable | Bgp | The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings. |
| peer | string | The IPv4 address of the peer device. |
| route | string | The ID of the route server endpoint associated with this peer. |
| tags? | Cfn[] | Any tags assigned to the route server peer. |
bgpOptions
Type:
IResolvable | Bgp
The BGP configuration options for this peer, including ASN (Autonomous System Number) and BFD (Bidrectional Forwarding Detection) settings.
peerAddress
Type:
string
The IPv4 address of the peer device.
routeServerEndpointId
Type:
string
The ID of the route server endpoint associated with this peer.
tags?
Type:
Cfn[]
(optional)
Any tags assigned to the route server peer.

.NET
Go
Java
Python
TypeScript