Interface ServerlessClusterAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServerlessClusterAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:50.151Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forServerlessClusterAttributes
static final class
An implementation forServerlessClusterAttributes
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Cluster endpoint address.Identifier for the cluster.default Number
getPort()
The database port.default String
Reader endpoint address.default ISecret
The 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
-