Interface DatabaseClusterAttributes

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

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.332Z") @Stability(Experimental) public interface DatabaseClusterAttributes extends software.amazon.jsii.JsiiSerializable
(experimental) Properties that describe an existing cluster instance.

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.ec2.*;
 import software.amazon.awscdk.services.neptune.*;
 SecurityGroup securityGroup;
 DatabaseClusterAttributes databaseClusterAttributes = DatabaseClusterAttributes.builder()
         .clusterEndpointAddress("clusterEndpointAddress")
         .clusterIdentifier("clusterIdentifier")
         .clusterResourceIdentifier("clusterResourceIdentifier")
         .port(123)
         .readerEndpointAddress("readerEndpointAddress")
         .securityGroup(securityGroup)
         .build();
 
  • Method Details

    • getClusterEndpointAddress

      @Stability(Experimental) @NotNull String getClusterEndpointAddress()
      (experimental) Cluster endpoint address.
    • getClusterIdentifier

      @Stability(Experimental) @NotNull String getClusterIdentifier()
      (experimental) Identifier for the cluster.
    • getClusterResourceIdentifier

      @Stability(Experimental) @NotNull String getClusterResourceIdentifier()
      (experimental) Resource Identifier for the cluster.
    • getPort

      @Stability(Experimental) @NotNull Number getPort()
      (experimental) The database port.
    • getReaderEndpointAddress

      @Stability(Experimental) @NotNull String getReaderEndpointAddress()
      (experimental) Reader endpoint address.
    • getSecurityGroup

      @Stability(Experimental) @NotNull ISecurityGroup getSecurityGroup()
      (experimental) The security group of the database cluster.
    • builder

      @Stability(Experimental) static DatabaseClusterAttributes.Builder builder()
      Returns:
      a DatabaseClusterAttributes.Builder of DatabaseClusterAttributes