Skip to content

Commit d981af1

Browse files
iankhougithub-actions
andauthored
chore(toolkit-lib): formatting and grammar changes in TSDoc comments (#582)
- Default values are either represented as values or as text - i.e. any default value beginning with "- " are meant to be text, while any that do not begin with this prefix are values - Capitalize all default value text entries --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Signed-off-by: github-actions <[email protected]> Co-authored-by: github-actions <[email protected]>
1 parent 764a12c commit d981af1

File tree

22 files changed

+45
-45
lines changed

22 files changed

+45
-45
lines changed

packages/@aws-cdk/toolkit-lib/lib/actions/bootstrap/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export interface BootstrapParameters {
152152
* Identifier to distinguish multiple bootstrapped environments
153153
* The default qualifier is an arbitrary but unique string
154154
*
155-
* @default - 'hnb659fds'
155+
* @default 'hnb659fds'
156156
*/
157157
readonly qualifier?: string;
158158

packages/@aws-cdk/toolkit-lib/lib/actions/deploy/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ export interface HotswapDeployment {
5050
* Represents configuration property overrides for hotswap deployments.
5151
* Currently only supported by ECS.
5252
*
53-
* @default - no overrides
53+
* @default - No overrides
5454
*/
5555
readonly properties?: HotswapProperties;
5656

5757
/**
5858
* Fall back to a CloudFormation deployment when a non-hotswappable change is detected
5959
*
60-
* @default - do not fall back to a CloudFormation deployment
60+
* @default - Do not fall back to a CloudFormation deployment
6161
*/
6262
readonly fallback?: DirectDeployment | ChangeSetDeployment;
6363
}
@@ -115,7 +115,7 @@ export interface BaseDeployOptions {
115115
/**
116116
* Criteria for selecting stacks to deploy
117117
*
118-
* @default - all stacks
118+
* @default - All stacks
119119
*/
120120
readonly stacks?: StackSelector;
121121

@@ -177,7 +177,7 @@ export interface BaseDeployOptions {
177177
* Whether to send logs from all CloudWatch log groups in the template
178178
* to the IoHost
179179
*
180-
* @default - false
180+
* @default false
181181
*/
182182
readonly traceLogs?: boolean;
183183
}

packages/@aws-cdk/toolkit-lib/lib/actions/deploy/private/deploy-options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ export interface PrivateDeployOptions extends DeployOptions {
1212
/**
1313
* The extra string to append to the User-Agent header when performing AWS SDK calls.
1414
*
15-
* @default - nothing extra is appended to the User-Agent header
15+
* @default - Nothing extra is appended to the User-Agent header
1616
*/
1717
readonly extraUserAgent?: string;
1818

1919
/**
2020
* Allows adding CloudWatch log groups to the log monitor via
2121
* cloudWatchLogMonitor.setLogGroups();
2222
*
23-
* @default - not monitoring CloudWatch logs
23+
* @default - Not monitoring CloudWatch logs
2424
*/
2525
readonly cloudWatchLogMonitor?: CloudWatchLogEventMonitor;
2626
}

packages/@aws-cdk/toolkit-lib/lib/actions/destroy/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export interface DestroyOptions {
44
/**
55
* Criteria for selecting stacks to deploy
66
*
7-
* @default - all stacks
7+
* @default - All stacks
88
*/
99
readonly stacks?: StackSelector;
1010

packages/@aws-cdk/toolkit-lib/lib/actions/diff/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface ChangeSetDiffOptions extends CloudFormationDiffOptions {
2323
/**
2424
* Additional parameters for CloudFormation when creating a diff change set
2525
*
26-
* @default - no parameters
26+
* @default - No parameters
2727
*/
2828
readonly parameters?: { [name: string]: string | undefined };
2929

@@ -95,7 +95,7 @@ export interface DiffOptions {
9595
/**
9696
* Select the stacks
9797
*
98-
* @default - all stacks
98+
* @default - All stacks
9999
*/
100100
readonly stacks?: StackSelector;
101101

packages/@aws-cdk/toolkit-lib/lib/actions/drift/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export interface DriftOptions {
44
/**
55
* Select stacks to check for drift
66
*
7-
* @default - all stacks
7+
* @default - All stacks
88
*/
99
readonly stacks?: StackSelector;
1010
}

packages/@aws-cdk/toolkit-lib/lib/actions/refactor/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export interface RefactorOptions {
7373
/**
7474
* Criteria for selecting stacks to deploy
7575
*
76-
* @default - all stacks
76+
* @default - All stacks
7777
*/
7878
stacks?: StackSelector;
7979

packages/@aws-cdk/toolkit-lib/lib/actions/rollback/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export interface RollbackOptions {
44
/**
55
* Criteria for selecting stacks to rollback
66
*
7-
* @default - all stacks
7+
* @default - All stacks
88
*/
99
readonly stacks?: StackSelector;
1010

packages/@aws-cdk/toolkit-lib/lib/actions/watch/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export interface WatchOptions extends BaseDeployOptions {
44
/**
55
* Watch the files in this list
66
*
7-
* @default - all files in the watchDir
7+
* @default - All files in the watchDir
88
*/
99
readonly include?: string[];
1010

@@ -14,14 +14,14 @@ export interface WatchOptions extends BaseDeployOptions {
1414
* Hidden files (those whose names begin with a dot `.`) are always excluded,
1515
* irrespectively of this option.
1616
*
17-
* @default - default patterns excluding likely irrelevant files for all CDK supported programming languages, this list will change over time
17+
* @default - Default patterns excluding likely irrelevant files for all CDK supported programming languages, this list will change over time
1818
*/
1919
readonly exclude?: string[];
2020

2121
/**
2222
* The root directory used for watch.
2323
*
24-
* @default - the current working directory
24+
* @default - Current working directory
2525
*/
2626
readonly watchDir?: string;
2727

packages/@aws-cdk/toolkit-lib/lib/api/aws-auth/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface SdkHttpOptions {
2727
*
2828
* Use this so set up a proxy connection.
2929
*
30-
* @default - uses the shared global node agent
30+
* @default - Uses the shared global node agent
3131
*/
3232
readonly agent?: https.Agent;
3333
}

0 commit comments

Comments
 (0)