@Generated(value="jsii-pacmak/1.12.0 (build 5ddc9f2)", date="2020-09-25T17:39:22.158Z") @Stability(value=Experimental) public interface ClusterProps extends software.amazon.jsii.JsiiSerializable
EXPERIMENTAL
| Modifier and Type | Interface and Description |
|---|---|
static class |
ClusterProps.Builder
A builder for
ClusterProps |
static class |
ClusterProps.Jsii$Proxy
An implementation for
ClusterProps |
| Modifier and Type | Method and Description |
|---|---|
static ClusterProps.Builder |
builder() |
default String |
getClusterName()
An optional identifier for the cluster.
|
default ClusterType |
getClusterType()
Settings for the individual instances that are launched.
|
default String |
getDefaultDatabaseName()
Name of a database which is automatically created inside the cluster.
|
default Boolean |
getEncrypted()
Whether to enable encryption of data at rest in the cluster.
|
default IKey |
getEncryptionKey()
The KMS key to use for encryption of data at rest.
|
default IBucket |
getLoggingBucket()
Bucket to send logs to.
|
default String |
getLoggingKeyPrefix()
Prefix used for logging.
|
Login |
getMasterUser()
Username and password for the administrative user.
|
default NodeType |
getNodeType()
The node type to be provisioned for the cluster.
|
default Number |
getNumberOfNodes()
Number of compute nodes in the cluster.
|
default IClusterParameterGroup |
getParameterGroup()
Additional parameters to pass to the database engine https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html.
|
default Number |
getPort()
What port to listen on.
|
default String |
getPreferredMaintenanceWindow()
A preferred maintenance window day/time range.
|
default RemovalPolicy |
getRemovalPolicy()
The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.
|
default List<IRole> |
getRoles()
A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.
|
default List<ISecurityGroup> |
getSecurityGroups()
Security group.
|
default IClusterSubnetGroup |
getSubnetGroup()
A cluster subnet group to use with this cluster.
|
IVpc |
getVpc()
The VPC to place the cluster in.
|
default SubnetSelection |
getVpcSubnets()
Where to place the instances within the VPC.
|
@Stability(value=Experimental) @NotNull Login getMasterUser()
EXPERIMENTAL
@Stability(value=Experimental) @NotNull IVpc getVpc()
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getClusterName()
Default: - A name is automatically generated.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default ClusterType getClusterType()
Default: ClusterType.MULTI_NODE
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getDefaultDatabaseName()
Default: - default_db
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Boolean getEncrypted()
Default: true
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default IKey getEncryptionKey()
Default: - AWS-managed key, if encryption at rest is enabled
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default IBucket getLoggingBucket()
Logging information includes queries and connection attempts, for the specified Amazon Redshift cluster.
Default: - No Logs
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getLoggingKeyPrefix()
Default: - no prefix
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default NodeType getNodeType()
Default: NodeType.DC2_LARGE
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Number getNumberOfNodes()
Value must be at least 2 and no more than 100.
Default: - 2 if `clusterType` is ClusterType.MULTI_NODE, undefined otherwise
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default IClusterParameterGroup getParameterGroup()
Default: - No parameter group.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default Number getPort()
Default: - The default for the engine is used.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default String getPreferredMaintenanceWindow()
Example: 'Sun:23:45-Mon:00:15'
Default: - 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.
EXPERIMENTAL
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance@Stability(value=Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
Default: RemovalPolicy.RETAIN
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default List<IRole> getRoles()
Specify a maximum of 10 roles.
Default: - No role is attached to the cluster.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
Default: - a new security group is created.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default IClusterSubnetGroup getSubnetGroup()
Default: - a new subnet group will be created.
EXPERIMENTAL
@Stability(value=Experimental) @Nullable default SubnetSelection getVpcSubnets()
Default: - private subnets
EXPERIMENTAL
@Stability(value=Experimental) static ClusterProps.Builder builder()
ClusterProps.Builder of ClusterPropsCopyright © 2020. All rights reserved.