@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.505Z") @Stability(value=Stable) public interface ServerlessClusterAttributes 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.ec2.*;
import software.amazon.awscdk.services.rds.*;
import software.amazon.awscdk.services.secretsmanager.*;
Secret secret;
SecurityGroup securityGroup;
ServerlessClusterAttributes serverlessClusterAttributes = ServerlessClusterAttributes.builder()
.clusterIdentifier("clusterIdentifier")
// the properties below are optional
.clusterEndpointAddress("clusterEndpointAddress")
.port(123)
.readerEndpointAddress("readerEndpointAddress")
.secret(secret)
.securityGroups(List.of(securityGroup))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ServerlessClusterAttributes.Builder
A builder for
ServerlessClusterAttributes |
static class |
ServerlessClusterAttributes.Jsii$Proxy
An implementation for
ServerlessClusterAttributes |
| Modifier and Type | Method and Description |
|---|---|
static ServerlessClusterAttributes.Builder |
builder() |
default String |
getClusterEndpointAddress()
Cluster endpoint address.
|
String |
getClusterIdentifier()
Identifier for the cluster.
|
default Number |
getPort()
The database port.
|
default String |
getReaderEndpointAddress()
Reader endpoint address.
|
default ISecret |
getSecret()
The secret attached to the database cluster.
|
default List<ISecurityGroup> |
getSecurityGroups()
The security groups of the database cluster.
|
@Stability(value=Stable) @NotNull String getClusterIdentifier()
@Stability(value=Stable) @Nullable default String getClusterEndpointAddress()
Default: - no endpoint address
@Stability(value=Stable) @Nullable default Number getPort()
Default: - none
@Stability(value=Stable) @Nullable default String getReaderEndpointAddress()
Default: - no reader address
@Stability(value=Stable) @Nullable default ISecret getSecret()
Default: - no secret
@Stability(value=Stable) @Nullable default List<ISecurityGroup> getSecurityGroups()
Default: - no security groups
@Stability(value=Stable) static ServerlessClusterAttributes.Builder builder()
Copyright © 2022. All rights reserved.