@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2020-12-30T23:06:02.452Z") @Stability(value=Experimental) public interface ClusterProps extends software.amazon.jsii.JsiiSerializable
| 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()
(experimental) An optional identifier for the cluster.
|
default ClusterType |
getClusterType()
(experimental) Settings for the individual instances that are launched.
|
default String |
getDefaultDatabaseName()
(experimental) Name of a database which is automatically created inside the cluster.
|
default Boolean |
getEncrypted()
(experimental) Whether to enable encryption of data at rest in the cluster.
|
default IKey |
getEncryptionKey()
(experimental) The KMS key to use for encryption of data at rest.
|
default IBucket |
getLoggingBucket()
(experimental) Bucket to send logs to.
|
default String |
getLoggingKeyPrefix()
(experimental) Prefix used for logging.
|
Login |
getMasterUser()
(experimental) Username and password for the administrative user.
|
default NodeType |
getNodeType()
(experimental) The node type to be provisioned for the cluster.
|
default Number |
getNumberOfNodes()
(experimental) Number of compute nodes in the cluster.
|
default IClusterParameterGroup |
getParameterGroup()
(experimental) Additional parameters to pass to the database engine https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html.
|
default Number |
getPort()
(experimental) What port to listen on.
|
default String |
getPreferredMaintenanceWindow()
(experimental) A preferred maintenance window day/time range.
|
default Boolean |
getPubliclyAccessible()
(experimental) Whether to make cluster publicly accessible.
|
default RemovalPolicy |
getRemovalPolicy()
(experimental) 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()
(experimental) 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()
(experimental) Security group.
|
default IClusterSubnetGroup |
getSubnetGroup()
(experimental) A cluster subnet group to use with this cluster.
|
IVpc |
getVpc()
(experimental) The VPC to place the cluster in.
|
default SubnetSelection |
getVpcSubnets()
(experimental) Where to place the instances within the VPC.
|
@Stability(value=Experimental) @NotNull Login getMasterUser()
@Stability(value=Experimental) @NotNull IVpc getVpc()
@Stability(value=Experimental) @Nullable default String getClusterName()
Default: - A name is automatically generated.
@Stability(value=Experimental) @Nullable default ClusterType getClusterType()
Default: ClusterType.MULTI_NODE
@Stability(value=Experimental) @Nullable default String getDefaultDatabaseName()
Default: - default_db
@Stability(value=Experimental) @Nullable default Boolean getEncrypted()
Default: true
@Stability(value=Experimental) @Nullable default IKey getEncryptionKey()
Default: - AWS-managed key, if encryption at rest is enabled
@Stability(value=Experimental) @Nullable default IBucket getLoggingBucket()
Logging information includes queries and connection attempts, for the specified Amazon Redshift cluster.
Default: - No Logs
@Stability(value=Experimental) @Nullable default String getLoggingKeyPrefix()
Default: - no prefix
@Stability(value=Experimental) @Nullable default NodeType getNodeType()
Default: NodeType.DC2_LARGE
@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
@Stability(value=Experimental) @Nullable default IClusterParameterGroup getParameterGroup()
Default: - No parameter group.
@Stability(value=Experimental) @Nullable default Number getPort()
Default: - The default for the engine is used.
@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.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance@Stability(value=Experimental) @Nullable default Boolean getPubliclyAccessible()
Default: false
@Stability(value=Experimental) @Nullable default RemovalPolicy getRemovalPolicy()
Default: RemovalPolicy.RETAIN
@Stability(value=Experimental) @Nullable default List<IRole> getRoles()
Specify a maximum of 10 roles.
Default: - No role is attached to the cluster.
@Stability(value=Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
Default: - a new security group is created.
@Stability(value=Experimental) @Nullable default IClusterSubnetGroup getSubnetGroup()
Default: - a new subnet group will be created.
@Stability(value=Experimental) @Nullable default SubnetSelection getVpcSubnets()
Default: - private subnets
@Stability(value=Experimental) static ClusterProps.Builder builder()
ClusterProps.Builder of ClusterPropsCopyright © 2020. All rights reserved.