diff --git a/packages/@aws-cdk/cloudformation-diff/lib/diff-template.ts b/packages/@aws-cdk/cloudformation-diff/lib/diff-template.ts index 5bcce8cd0e4d0..aeb5bd31401d5 100644 --- a/packages/@aws-cdk/cloudformation-diff/lib/diff-template.ts +++ b/packages/@aws-cdk/cloudformation-diff/lib/diff-template.ts @@ -151,7 +151,7 @@ function calculateTemplateDiff(currentTemplate: { [key: string]: any }, newTempl /** * Replace all references to the given logicalID on the given template, in-place * - * Returns true iff any references were replaced. + * Returns true if any references were replaced. */ function propagateReplacedReferences(template: object, logicalId: string): boolean { let ret = false; diff --git a/packages/aws-cdk-lib/aws-ec2/lib/instance.ts b/packages/aws-cdk-lib/aws-ec2/lib/instance.ts index 2eb98ad26e6fa..8dbcbd58bd921 100644 --- a/packages/aws-cdk-lib/aws-ec2/lib/instance.ts +++ b/packages/aws-cdk-lib/aws-ec2/lib/instance.ts @@ -177,7 +177,7 @@ export interface InstanceProps { * UserData, which will cause CloudFormation to replace it if the UserData * changes. * - * @default - true iff `initOptions` is specified, false otherwise. + * @default - true if `initOptions` is specified, false otherwise. */ readonly userDataCausesReplacement?: boolean; diff --git a/packages/aws-cdk/lib/notices.ts b/packages/aws-cdk/lib/notices.ts index 1747369705fe1..747078e0a11da 100644 --- a/packages/aws-cdk/lib/notices.ts +++ b/packages/aws-cdk/lib/notices.ts @@ -255,7 +255,7 @@ export class NoticeFilter { } /** - * Returns true iff we should show this notice. + * Returns true if we should show this notice. */ apply(notice: Notice): boolean { if (this.acknowledgedIssueNumbers.has(notice.issueNumber)) { @@ -267,7 +267,7 @@ export class NoticeFilter { } /** - * Returns true iff we should show the notice. + * Returns true if we should show the notice. */ private applyVersion(notice: Notice, name: string, compareToVersion: string | undefined) { if (compareToVersion === undefined) { return false; }