@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:12.545Z") @Stability(value=Experimental) 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()
(experimental) Cluster endpoint address.
|
String |
getClusterIdentifier()
(experimental) Identifier for the cluster.
|
default Number |
getPort()
(experimental) The database port.
|
default String |
getReaderEndpointAddress()
(experimental) Reader endpoint address.
|
default ISecret |
getSecret()
(experimental) The secret attached to the database cluster.
|
default List<ISecurityGroup> |
getSecurityGroups()
(experimental) The security groups of the database cluster.
|
@Stability(value=Experimental) @NotNull String getClusterIdentifier()
@Stability(value=Experimental) @Nullable default String getClusterEndpointAddress()
Default: - no endpoint address
@Stability(value=Experimental) @Nullable default Number getPort()
Default: - none
@Stability(value=Experimental) @Nullable default String getReaderEndpointAddress()
Default: - no reader address
@Stability(value=Experimental) @Nullable default ISecret getSecret()
Default: - no secret
@Stability(value=Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
Default: - no security groups
@Stability(value=Experimental) static ServerlessClusterAttributes.Builder builder()
Copyright © 2022. All rights reserved.