Interface ClusterProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ClusterProps.Jsii$Proxy
Example:
import software.amazon.awscdk.services.ec2.*; Vpc vpc = new Vpc(this, "Vpc"); Cluster cluster = Cluster.Builder.create(this, "Redshift") .masterUser(Login.builder() .masterUsername("admin") .build()) .vpc(vpc) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forClusterProps
static final class
An implementation forClusterProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterProps.Builder
builder()
default String
(experimental) An optional identifier for the cluster.default ClusterType
(experimental) Settings for the individual instances that are launched.default String
(experimental) Name of a database which is automatically created inside the cluster.default Boolean
(experimental) Whether to enable encryption of data at rest in the cluster.default IKey
(experimental) The KMS key to use for encryption of data at rest.default IBucket
(experimental) Bucket to send logs to.default String
(experimental) Prefix used for logging.(experimental) Username and password for the administrative user.default NodeType
(experimental) The node type to be provisioned for the cluster.default Number
(experimental) Number of compute nodes in the cluster.default IClusterParameterGroup
(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
(experimental) A preferred maintenance window day/time range.default Boolean
(experimental) Whether to make cluster publicly accessible.default RemovalPolicy
(experimental) The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.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>
(experimental) Security group.default IClusterSubnetGroup
(experimental) A cluster subnet group to use with this cluster.getVpc()
(experimental) The VPC to place the cluster in.default SubnetSelection
(experimental) Where to place the instances within the VPC.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMasterUser
(experimental) Username and password for the administrative user. -
getVpc
(experimental) The VPC to place the cluster in. -
getClusterName
(experimental) An optional identifier for the cluster.Default: - A name is automatically generated.
-
getClusterType
(experimental) Settings for the individual instances that are launched.Default:
invalid @link
ClusterType.MULTI_NODE
-
getDefaultDatabaseName
(experimental) Name of a database which is automatically created inside the cluster.Default: - default_db
-
getEncrypted
(experimental) Whether to enable encryption of data at rest in the cluster.Default: true
-
getEncryptionKey
(experimental) The KMS key to use for encryption of data at rest.Default: - AWS-managed key, if encryption at rest is enabled
-
getLoggingBucket
(experimental) Bucket to send logs to.Logging information includes queries and connection attempts, for the specified Amazon Redshift cluster.
Default: - No Logs
-
getLoggingKeyPrefix
(experimental) Prefix used for logging.Default: - no prefix
-
getNodeType
(experimental) The node type to be provisioned for the cluster.Default:
invalid @link
NodeType.DC2_LARGE
-
getNumberOfNodes
(experimental) Number of compute nodes in the cluster. Only specify this property for multi-node clusters.Value must be at least 2 and no more than 100.
Default: - 2 if `clusterType` is ClusterType.MULTI_NODE, undefined otherwise
-
getParameterGroup
(experimental) Additional parameters to pass to the database engine https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html.Default: - No parameter group.
-
getPort
(experimental) What port to listen on.Default: - The default for the engine is used.
-
getPreferredMaintenanceWindow
(experimental) A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).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.
- See Also:
-
getPubliclyAccessible
(experimental) Whether to make cluster publicly accessible.Default: false
-
getRemovalPolicy
(experimental) The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.Default: RemovalPolicy.RETAIN
-
getRoles
(experimental) A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.Specify a maximum of 10 roles.
Default: - No role is attached to the cluster.
-
getSecurityGroups
(experimental) Security group.Default: - a new security group is created.
-
getSubnetGroup
(experimental) A cluster subnet group to use with this cluster.Default: - a new subnet group will be created.
-
getVpcSubnets
(experimental) Where to place the instances within the VPC.Default: - private subnets
-
builder
- Returns:
- a
ClusterProps.Builder
ofClusterProps
-