Skip to content
v2.278.0

ConnectPeerBgpConfigurationProperty Struct ​

Describes a core network BGP configuration.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as networkmanager } from 'aws-cdk-lib';
const connectPeerBgpConfigurationProperty: networkmanager.CfnConnectPeer.ConnectPeerBgpConfigurationProperty = {
  coreNetworkAddress: 'coreNetworkAddress',
  coreNetworkAsn: 123,
  peerAddress: 'peerAddress',
  peerAsn: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkmanager as networkmanager

connect_peer_bgp_configuration_property = networkmanager.CfnConnectPeer.ConnectPeerBgpConfigurationProperty(
    core_network_address="coreNetworkAddress",
    core_network_asn=123,
    peer_address="peerAddress",
    peer_asn=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkmanager.*;

ConnectPeerBgpConfigurationProperty connectPeerBgpConfigurationProperty = ConnectPeerBgpConfigurationProperty.builder()
        .coreNetworkAddress("coreNetworkAddress")
        .coreNetworkAsn(123)
        .peerAddress("peerAddress")
        .peerAsn(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkManager;

var connectPeerBgpConfigurationProperty = new ConnectPeerBgpConfigurationProperty {
    CoreNetworkAddress = "coreNetworkAddress",
    CoreNetworkAsn = 123,
    PeerAddress = "peerAddress",
    PeerAsn = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

connectPeerBgpConfigurationProperty := &ConnectPeerBgpConfigurationProperty{
	CoreNetworkAddress: jsii.String("coreNetworkAddress"),
	CoreNetworkAsn: jsii.Number(123),
	PeerAddress: jsii.String("peerAddress"),
	PeerAsn: jsii.Number(123),
}

Properties ​

coreNetworkAddressoptionalstringcore_network_addressoptionalstrcoreNetworkAddressoptionalStringCoreNetworkAddressoptionalstringCoreNetworkAddressoptional*string #
The address of a core network.
coreNetworkAsnoptionalnumbercore_network_asnoptionalint | floatcoreNetworkAsnoptionalNumberCoreNetworkAsnoptionaldoubleCoreNetworkAsnoptional*float64 #
The ASN of the Coret Network.
peerAddressoptionalstringpeer_addressoptionalstrpeerAddressoptionalStringPeerAddressoptionalstringPeerAddressoptional*string #
The address of a core network Connect peer.
peerAsnoptionalnumberpeer_asnoptionalint | floatpeerAsnoptionalNumberPeerAsnoptionaldoublePeerAsnoptional*float64 #
The ASN of the Connect peer.