Skip to content

Commit 2b6a32a

Browse files
authored
chore(logs): fix typo in README and comments (#30136)
### Issue # (if applicable) Closes #<issue number here>. ### Reason for this change ### Description of changes ### Description of how you validated changes ### Checklist - [ ] 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) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent f6b649d commit 2b6a32a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const logGroup = new logs.LogGroup(this, 'LogGroup');
6161
logGroup.grantWrite(new iam.ServicePrincipal('es.amazonaws.com'));
6262
```
6363

64-
Similarily, read permissions can be granted to the log group as follows.
64+
Similarly, read permissions can be granted to the log group as follows.
6565

6666
```ts
6767
const logGroup = new logs.LogGroup(this, 'LogGroup');

packages/aws-cdk-lib/aws-logs/lib/data-protection-policy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export class CustomDataIdentifier extends DataIdentifier {
321321
/**
322322
* Create a custom data identifier.
323323
* @param name - the name of the custom data identifier. This cannot share the same name as a managed data identifier.
324-
* @param regex - the regular expresssion to detect and mask log events for.
324+
* @param regex - the regular expression to detect and mask log events for.
325325
*/
326326
constructor(public readonly name: string, public readonly regex: string) {
327327
super(name);

packages/aws-cdk-lib/aws-logs/lib/log-group.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ export interface LogGroupProps {
389389
/**
390390
* The KMS customer managed key to encrypt the log group with.
391391
*
392-
* @default Server-side encrpytion managed by the CloudWatch Logs service
392+
* @default Server-side encryption managed by the CloudWatch Logs service
393393
*/
394394
readonly encryptionKey?: kms.IKey;
395395

0 commit comments

Comments
 (0)