Skip to content

Commit

Permalink
chore(redshift-alpha): formatting typos (aws#28224)
Browse files Browse the repository at this point in the history
Saw some formatting issues that I'm fixing here.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
kaizencc authored and chenjane-dev committed Dec 5, 2023
1 parent 09d882c commit d36092f
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions packages/@aws-cdk/aws-redshift-alpha/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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
*/
Expand Down Expand Up @@ -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;
}
Expand All @@ -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;
}

/**
Expand Down Expand Up @@ -196,7 +203,6 @@ export interface ClusterAttributes {
* Properties for a new database cluster
*/
export interface ClusterProps {

/**
* An optional identifier for the cluster
*
Expand Down Expand Up @@ -385,7 +391,6 @@ export interface ClusterProps {
* A new or imported clustered database.
*/
abstract class ClusterBase extends Resource implements ICluster {

/**
* Name of the cluster
*/
Expand Down

0 comments on commit d36092f

Please sign in to comment.