@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:28.667Z") @Stability(value=Stable) public interface DatabaseClusterAttributes extends software.amazon.jsii.JsiiSerializable
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.docdb.*; import software.amazon.awscdk.services.ec2.*; SecurityGroup securityGroup; DatabaseClusterAttributes databaseClusterAttributes = DatabaseClusterAttributes.builder() .clusterIdentifier("clusterIdentifier") // the properties below are optional .clusterEndpointAddress("clusterEndpointAddress") .instanceEndpointAddresses(List.of("instanceEndpointAddresses")) .instanceIdentifiers(List.of("instanceIdentifiers")) .port(123) .readerEndpointAddress("readerEndpointAddress") .securityGroup(securityGroup) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
DatabaseClusterAttributes.Builder
A builder for
DatabaseClusterAttributes |
static class |
DatabaseClusterAttributes.Jsii$Proxy
An implementation for
DatabaseClusterAttributes |
Modifier and Type | Method and Description |
---|---|
static DatabaseClusterAttributes.Builder |
builder() |
default String |
getClusterEndpointAddress()
Cluster endpoint address.
|
String |
getClusterIdentifier()
Identifier for the cluster.
|
default List<String> |
getInstanceEndpointAddresses()
Endpoint addresses of individual instances.
|
default List<String> |
getInstanceIdentifiers()
Identifier for the instances.
|
default Number |
getPort()
The database port.
|
default String |
getReaderEndpointAddress()
Reader endpoint address.
|
default ISecurityGroup |
getSecurityGroup()
The security group of the database cluster.
|
@Stability(value=Stable) @NotNull String getClusterIdentifier()
@Stability(value=Stable) @Nullable default String getClusterEndpointAddress()
Default: - no cluster endpoint address
@Stability(value=Stable) @Nullable default List<String> getInstanceEndpointAddresses()
Default: - no instance endpoint addresses
@Stability(value=Stable) @Nullable default List<String> getInstanceIdentifiers()
Default: - no instance identifiers
@Stability(value=Stable) @Nullable default Number getPort()
Default: - none
@Stability(value=Stable) @Nullable default String getReaderEndpointAddress()
Default: - no reader endpoint address
@Stability(value=Stable) @Nullable default ISecurityGroup getSecurityGroup()
Default: - no security groups
@Stability(value=Stable) static DatabaseClusterAttributes.Builder builder()
DatabaseClusterAttributes.Builder
of DatabaseClusterAttributes
Copyright © 2023. All rights reserved.