| Modifier and Type | Method and Description |
|---|---|
Cluster.Builder |
Cluster.Builder.clusterName(String clusterName)
An optional identifier for the cluster.
|
Cluster.Builder |
Cluster.Builder.clusterType(ClusterType clusterType)
Settings for the individual instances that are launched.
|
static Cluster.Builder |
Cluster.Builder.create(Construct scope,
String id)
EXPERIMENTAL
|
Cluster.Builder |
Cluster.Builder.defaultDatabaseName(String defaultDatabaseName)
Name of a database which is automatically created inside the cluster.
|
Cluster.Builder |
Cluster.Builder.encrypted(Boolean encrypted)
Whether to enable encryption of data at rest in the cluster.
|
Cluster.Builder |
Cluster.Builder.encryptionKey(IKey encryptionKey)
The KMS key to use for encryption of data at rest.
|
Cluster.Builder |
Cluster.Builder.loggingBucket(IBucket loggingBucket)
Bucket to send logs to.
|
Cluster.Builder |
Cluster.Builder.loggingKeyPrefix(String loggingKeyPrefix)
Prefix used for logging.
|
Cluster.Builder |
Cluster.Builder.masterUser(Login masterUser)
Username and password for the administrative user.
|
Cluster.Builder |
Cluster.Builder.nodeType(NodeType nodeType)
The node type to be provisioned for the cluster.
|
Cluster.Builder |
Cluster.Builder.numberOfNodes(Number numberOfNodes)
Number of compute nodes in the cluster.
|
Cluster.Builder |
Cluster.Builder.parameterGroup(IClusterParameterGroup parameterGroup)
Additional parameters to pass to the database engine https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html.
|
Cluster.Builder |
Cluster.Builder.port(Number port)
What port to listen on.
|
Cluster.Builder |
Cluster.Builder.preferredMaintenanceWindow(String preferredMaintenanceWindow)
A preferred maintenance window day/time range.
|
Cluster.Builder |
Cluster.Builder.removalPolicy(RemovalPolicy removalPolicy)
The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.
|
Cluster.Builder |
Cluster.Builder.roles(List<IRole> roles)
A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.
|
Cluster.Builder |
Cluster.Builder.securityGroups(List<ISecurityGroup> securityGroups)
Security group.
|
Cluster.Builder |
Cluster.Builder.vpc(IVpc vpc)
The VPC to place the cluster in.
|
Cluster.Builder |
Cluster.Builder.vpcSubnets(SubnetSelection vpcSubnets)
Where to place the instances within the VPC.
|
Copyright © 2020. All rights reserved.