Interface CfnConnectPeerProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnConnectPeerProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.452Z") @Stability(Stable) public interface CfnConnectPeerProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnConnectPeer.

Example:

 // 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.*;
 CfnConnectPeerProps cfnConnectPeerProps = CfnConnectPeerProps.builder()
         .connectAttachmentId("connectAttachmentId")
         .insideCidrBlocks(List.of("insideCidrBlocks"))
         .peerAddress("peerAddress")
         // the properties below are optional
         .bgpOptions(BgpOptionsProperty.builder()
                 .peerAsn(123)
                 .build())
         .coreNetworkAddress("coreNetworkAddress")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getConnectAttachmentId

      @Stability(Stable) @NotNull String getConnectAttachmentId()
      The ID of the attachment to connect.
    • getInsideCidrBlocks

      @Stability(Stable) @NotNull List<String> getInsideCidrBlocks()
      The inside IP addresses used for a Connect peer configuration.
    • getPeerAddress

      @Stability(Stable) @NotNull String getPeerAddress()
      The IP address of the Connect peer.
    • getBgpOptions

      @Stability(Stable) @Nullable default Object getBgpOptions()
      AWS::NetworkManager::ConnectPeer.BgpOptions.
    • getCoreNetworkAddress

      @Stability(Stable) @Nullable default String getCoreNetworkAddress()
      The IP address of a core network.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The list of key-value tags associated with the Connect peer.
    • builder

      @Stability(Stable) static CfnConnectPeerProps.Builder builder()
      Returns:
      a CfnConnectPeerProps.Builder of CfnConnectPeerProps