ConnectPeerConfigurationProperty Struct
Describes a core network Connect peer 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 connectPeerConfigurationProperty: networkmanager.CfnConnectPeer.ConnectPeerConfigurationProperty = {
bgpConfigurations: [{
coreNetworkAddress: 'coreNetworkAddress',
coreNetworkAsn: 123,
peerAddress: 'peerAddress',
peerAsn: 123,
}],
coreNetworkAddress: 'coreNetworkAddress',
insideCidrBlocks: ['insideCidrBlocks'],
peerAddress: 'peerAddress',
protocol: 'protocol',
};
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_configuration_property = networkmanager.CfnConnectPeer.ConnectPeerConfigurationProperty(
bgp_configurations=[networkmanager.CfnConnectPeer.ConnectPeerBgpConfigurationProperty(
core_network_address="coreNetworkAddress",
core_network_asn=123,
peer_address="peerAddress",
peer_asn=123
)],
core_network_address="coreNetworkAddress",
inside_cidr_blocks=["insideCidrBlocks"],
peer_address="peerAddress",
protocol="protocol"
)
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.*;
ConnectPeerConfigurationProperty connectPeerConfigurationProperty = ConnectPeerConfigurationProperty.builder()
.bgpConfigurations(List.of(ConnectPeerBgpConfigurationProperty.builder()
.coreNetworkAddress("coreNetworkAddress")
.coreNetworkAsn(123)
.peerAddress("peerAddress")
.peerAsn(123)
.build()))
.coreNetworkAddress("coreNetworkAddress")
.insideCidrBlocks(List.of("insideCidrBlocks"))
.peerAddress("peerAddress")
.protocol("protocol")
.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 connectPeerConfigurationProperty = new ConnectPeerConfigurationProperty {
BgpConfigurations = new [] { new ConnectPeerBgpConfigurationProperty {
CoreNetworkAddress = "coreNetworkAddress",
CoreNetworkAsn = 123,
PeerAddress = "peerAddress",
PeerAsn = 123
} },
CoreNetworkAddress = "coreNetworkAddress",
InsideCidrBlocks = new [] { "insideCidrBlocks" },
PeerAddress = "peerAddress",
Protocol = "protocol"
};
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"
connectPeerConfigurationProperty := &ConnectPeerConfigurationProperty{
BgpConfigurations: []interface{}{
&ConnectPeerBgpConfigurationProperty{
CoreNetworkAddress: jsii.String("coreNetworkAddress"),
CoreNetworkAsn: jsii.Number(123),
PeerAddress: jsii.String("peerAddress"),
PeerAsn: jsii.Number(123),
},
},
CoreNetworkAddress: jsii.String("coreNetworkAddress"),
InsideCidrBlocks: []*string{
jsii.String("insideCidrBlocks"),
},
PeerAddress: jsii.String("peerAddress"),
Protocol: jsii.String("protocol"),
}
Properties
bgpConfigurationsoptionalIResolvable | IResolvable | CfnConnectPeer.ConnectPeerBgpConfigurationProperty[]bgp_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConnectPeerBgpConfigurationProperty]]]bgpConfigurationsoptionalIResolvableBgpConfigurationsoptionalIResolvableBgpConfigurationsoptionalinterface{}#The Connect peer BGP configurations.
coreNetworkAddressoptionalstringcore_network_addressoptionalstrcoreNetworkAddressoptionalStringCoreNetworkAddressoptionalstringCoreNetworkAddressoptional*string#The IP address of a core network.
insideCidrBlocksoptionalstring[]inside_cidr_blocksoptionaltyping.List[str]insideCidrBlocksoptionalList<String>InsideCidrBlocksoptionalstring[]InsideCidrBlocksoptional*[]*string#The inside IP addresses used for a Connect peer configuration.
peerAddressoptionalstringpeer_addressoptionalstrpeerAddressoptionalStringPeerAddressoptionalstringPeerAddressoptional*string#The IP address of the Connect peer.
protocoloptionalstringprotocoloptionalstrprotocoloptionalStringProtocoloptionalstringProtocoloptional*string#The protocol used for a Connect peer configuration.