Skip to content

Commit

Permalink
Merge branch 'main' into add-me
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo10Gama authored May 10, 2024
2 parents ae40f0c + 2b6a32a commit dc6e634
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 dc6e634

Please sign in to comment.