Skip to content
v2.273.0

CfnConnectPeerProps Struct ​

Properties for defining a CfnConnectPeer.

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 cfnConnectPeerProps: networkmanager.CfnConnectPeerProps = {
  connectAttachmentId: 'connectAttachmentId',
  peerAddress: 'peerAddress',

  // the properties below are optional
  bgpOptions: {
    peerAsn: 123,
  },
  coreNetworkAddress: 'coreNetworkAddress',
  insideCidrBlocks: ['insideCidrBlocks'],
  subnetArn: 'subnetArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

bgpOptionsIResolvable | CfnConnectPeer.BgpOptionsPropertybgp_optionstyping.Union[IResolvable, BgpOptionsProperty]bgpOptionsIResolvableBgpOptionsIResolvableBgpOptionsinterface{}#
Describes the BGP options.
connectAttachmentIdstringconnect_attachment_idstrconnectAttachmentIdStringConnectAttachmentIdstringConnectAttachmentId*stringrequired#
The ID of the attachment to connect.
coreNetworkAddressstringcore_network_addressstrcoreNetworkAddressStringCoreNetworkAddressstringCoreNetworkAddress*string#
The IP address of a core network.
insideCidrBlocksstring[]inside_cidr_blockstyping.List[str]insideCidrBlocksList<String>InsideCidrBlocksstring[]InsideCidrBlocks*[]*string#
The inside IP addresses used for a Connect peer configuration.
peerAddressstringpeer_addressstrpeerAddressStringPeerAddressstringPeerAddress*stringrequired#
The IP address of the Connect peer.
subnetArnstringsubnet_arnstrsubnetArnStringSubnetArnstringSubnetArn*string#
The subnet ARN of the Connect peer.
tagsCfnTag[]tagstyping.List[CfnTag]tagsList<CfnTag>TagsCfnTag[]Tags*[]CfnTag#
The list of key-value tags associated with the Connect peer.

Used as props by ​