Interface ConnectionsProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:39.299Z") @Stability(Stable) public interface ConnectionsProps extends
Properties to intialize a new Connections object.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 IPeer peer;
 Port port;
 SecurityGroup securityGroup;
 ConnectionsProps connectionsProps = ConnectionsProps.builder()
  • Method Details

    • getDefaultPort

      @Stability(Stable) @Nullable default Port getDefaultPort()
      Default port range for initiating connections to and from this object.

      Default: - No default port

    • getPeer

      @Stability(Stable) @Nullable default IPeer getPeer()
      Class that represents the rule by which others can connect to this connectable.

      This object is required, but will be derived from securityGroup if that is passed.

      Default: Derived from securityGroup if set.

    • getSecurityGroups

      @Stability(Stable) @Nullable default List<ISecurityGroup> getSecurityGroups()
      What securityGroup(s) this object is managing connections for.

      Default: No security groups

    • builder

      @Stability(Stable) static ConnectionsProps.Builder builder()
      a ConnectionsProps.Builder of ConnectionsProps