Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(logs): fix typo in README and comments #30136

Merged
merged 3 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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