Skip to content

Commit

Permalink
chore(logs): fix typo in README and comments (#30136)
Browse files Browse the repository at this point in the history
### 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*
  • Loading branch information
kdnakt committed May 10, 2024
1 parent f6b649d commit 2b6a32a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const logGroup = new logs.LogGroup(this, 'LogGroup');
logGroup.grantWrite(new iam.ServicePrincipal('es.amazonaws.com'));
```

Similarily, read permissions can be granted to the log group as follows.
Similarly, read permissions can be granted to the log group as follows.

```ts
const logGroup = new logs.LogGroup(this, 'LogGroup');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export class CustomDataIdentifier extends DataIdentifier {
/**
* Create a custom data identifier.
* @param name - the name of the custom data identifier. This cannot share the same name as a managed data identifier.
* @param regex - the regular expresssion to detect and mask log events for.
* @param regex - the regular expression to detect and mask log events for.
*/
constructor(public readonly name: string, public readonly regex: string) {
super(name);
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-logs/lib/log-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export interface LogGroupProps {
/**
* The KMS customer managed key to encrypt the log group with.
*
* @default Server-side encrpytion managed by the CloudWatch Logs service
* @default Server-side encryption managed by the CloudWatch Logs service
*/
readonly encryptionKey?: kms.IKey;

Expand Down

0 comments on commit 2b6a32a

Please sign in to comment.