Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(redshift-alpha): formatting typos #28224

Merged
merged 2 commits into from
Dec 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading