Skip to content

Commit 6c5a69d

Browse files
authored
docs: fix "eg." to "e.g." in cloudwatch comments and README (#37404)
### Issue N/A (self-discovered) ### Reason for this change The abbreviation "e.g." (Latin: *exempli gratia*) should include periods. The codebase consistently uses "e.g." but has a few instances of "eg." without periods. ### Description of changes - `aws-cloudwatch/lib/dashboard.ts`: "eg." → "e.g." in JSDoc comment - `aws-cloudwatch/README.md`: "eg." → "e.g." ### Description of how you validated changes Comment and documentation-only changes. No functional impact. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
1 parent 2da2334 commit 6c5a69d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/aws-cdk-lib/aws-cloudwatch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ You can add a widget after object instantiation with the method
959959
### Interval duration for dashboard
960960

961961
Interval duration for metrics in dashboard. You can specify `defaultInterval` with
962-
the relative time(eg. 7 days) as `Duration.days(7)`.
962+
the relative time (e.g. 7 days) as `Duration.days(7)`.
963963

964964
```ts
965965
import * as cw from 'aws-cdk-lib/aws-cloudwatch';

packages/aws-cdk-lib/aws-cloudwatch/lib/dashboard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface DashboardProps {
3939

4040
/**
4141
* Interval duration for metrics.
42-
* You can specify defaultInterval with the relative time(eg. cdk.Duration.days(7)).
42+
* You can specify defaultInterval with the relative time (e.g. cdk.Duration.days(7)).
4343
*
4444
* Both properties `defaultInterval` and `start` cannot be set at once.
4545
*

0 commit comments

Comments
 (0)