Interface ServerlessClusterAttributes

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.261Z") @Stability(Stable) public interface ServerlessClusterAttributes extends
Properties that describe an existing cluster instance.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Secret secret;
 SecurityGroup securityGroup;
 ServerlessClusterAttributes serverlessClusterAttributes = ServerlessClusterAttributes.builder()
         // the properties below are optional
  • Method Details

    • getClusterIdentifier

      @Stability(Stable) @NotNull String getClusterIdentifier()
      Identifier for the cluster.
    • getClusterEndpointAddress

      @Stability(Stable) @Nullable default String getClusterEndpointAddress()
      Cluster endpoint address.

      Default: - no endpoint address

    • getPort

      @Stability(Stable) @Nullable default Number getPort()
      The database port.

      Default: - none

    • getReaderEndpointAddress

      @Stability(Stable) @Nullable default String getReaderEndpointAddress()
      Reader endpoint address.

      Default: - no reader address

    • getSecret

      @Stability(Stable) @Nullable default ISecret getSecret()
      The secret attached to the database cluster.

      Default: - no secret

    • getSecurityGroups

      @Stability(Stable) @Nullable default List<ISecurityGroup> getSecurityGroups()
      The security groups of the database cluster.

      Default: - no security groups

    • builder

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