Interface ServerlessClusterAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServerlessClusterAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:19.031Z")
@Stability(Stable)
public interface ServerlessClusterAttributes
extends software.amazon.jsii.JsiiSerializable
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.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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forServerlessClusterAttributesstatic final classAn implementation forServerlessClusterAttributes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringCluster endpoint address.Identifier for the cluster.default NumbergetPort()The database port.default StringReader endpoint address.default ISecretThe secret attached to the database cluster.default List<ISecurityGroup> The security groups of the database cluster.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterIdentifier
Identifier for the cluster. -
getClusterEndpointAddress
Cluster endpoint address.Default: - no endpoint address
-
getPort
The database port.Default: - none
-
getReaderEndpointAddress
Reader endpoint address.Default: - no reader address
-
getSecret
The secret attached to the database cluster.Default: - no secret
-
getSecurityGroups
The security groups of the database cluster.Default: - no security groups
-
builder
-