diff --git a/packages/@aws-cdk/aws-redshift-alpha/lib/cluster.ts b/packages/@aws-cdk/aws-redshift-alpha/lib/cluster.ts index 9b730b6fd79af..3facb2452bfa5 100644 --- a/packages/@aws-cdk/aws-redshift-alpha/lib/cluster.ts +++ b/packages/@aws-cdk/aws-redshift-alpha/lib/cluster.ts @@ -13,6 +13,7 @@ import { Endpoint } from './endpoint'; import { ClusterParameterGroup, IClusterParameterGroup } from './parameter-group'; import { CfnCluster } from 'aws-cdk-lib/aws-redshift'; import { ClusterSubnetGroup, IClusterSubnetGroup } from './subnet-group'; + /** * Possible Node Types to use in the cluster * used for defining `ClusterProps.nodeType`. @@ -22,34 +23,42 @@ export enum NodeType { * ds2.xlarge */ DS2_XLARGE = 'ds2.xlarge', + /** * ds2.8xlarge */ DS2_8XLARGE = 'ds2.8xlarge', + /** * dc1.large */ DC1_LARGE = 'dc1.large', + /** * dc1.8xlarge */ DC1_8XLARGE = 'dc1.8xlarge', + /** * dc2.large */ DC2_LARGE = 'dc2.large', + /** * dc2.8xlarge */ DC2_8XLARGE = 'dc2.8xlarge', + /** * ra3.xlplus */ RA3_XLPLUS = 'ra3.xlplus', + /** * ra3.4xlarge */ RA3_4XLARGE = 'ra3.4xlarge', + /** * ra3.16xlarge */ @@ -85,14 +94,14 @@ export interface Login { * * Do not put passwords in your CDK code directly. * - * @default a Secrets Manager generated password + * @default - a Secrets Manager generated password */ readonly masterPassword?: SecretValue; /** * KMS encryption key to encrypt the generated secret. * - * @default default master key + * @default - default master key */ readonly encryptionKey?: kms.IKey; } @@ -104,15 +113,13 @@ export interface LoggingProperties { /** * Bucket to send logs to. * Logging information includes queries and connection attempts, for the specified Amazon Redshift cluster. - * */ - readonly loggingBucket: s3.IBucket + readonly loggingBucket: s3.IBucket; /** * Prefix used for logging. - * */ - readonly loggingKeyPrefix: string + readonly loggingKeyPrefix: string; } /** @@ -196,7 +203,6 @@ export interface ClusterAttributes { * Properties for a new database cluster */ export interface ClusterProps { - /** * An optional identifier for the cluster * @@ -385,7 +391,6 @@ export interface ClusterProps { * A new or imported clustered database. */ abstract class ClusterBase extends Resource implements ICluster { - /** * Name of the cluster */