Skip to content

Commit 55cc2da

Browse files
committed
docs: fix "it's" to "its" (possessive) in source comments
Fix incorrect use of "it's" (contraction of "it is") where "its" (possessive) is intended: - aws-apigateway: "calculating it's hash" (3 files) - aws-s3: "bucket and it's contents" (bucket-grants.ts, bucket.ts) - core: "reference to it's parent" (stack.ts) - cx-api: "Despite it's name" (cxapi.ts)
1 parent d12754f commit 55cc2da

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

packages/aws-cdk-lib/aws-apigateway/lib/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export interface ModelProps extends ModelOptions {
105105
* The rest API that this model is part of.
106106
*
107107
* The reason we need the RestApi object itself and not just the ID is because the model
108-
* is being tracked by the top-level RestApi object for the purpose of calculating it's
108+
* is being tracked by the top-level RestApi object for the purpose of calculating its
109109
* hash to determine the ID of the deployment. This allows us to automatically update
110110
* the deployment when the model of the REST API changes.
111111
*/

packages/aws-cdk-lib/aws-apigateway/lib/requestvalidator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface RequestValidatorProps extends RequestValidatorOptions {
4646
* The rest API that this model is part of.
4747
*
4848
* The reason we need the RestApi object itself and not just the ID is because the model
49-
* is being tracked by the top-level RestApi object for the purpose of calculating it's
49+
* is being tracked by the top-level RestApi object for the purpose of calculating its
5050
* hash to determine the ID of the deployment. This allows us to automatically update
5151
* the deployment when the model of the REST API changes.
5252
*/

packages/aws-cdk-lib/aws-apigateway/lib/resource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface IResource extends IResourceBase, IResourceRef {
3131
* The rest API that this resource is part of.
3232
*
3333
* The reason we need the RestApi object itself and not just the ID is because the model
34-
* is being tracked by the top-level RestApi object for the purpose of calculating it's
34+
* is being tracked by the top-level RestApi object for the purpose of calculating its
3535
* hash to determine the ID of the deployment. This allows us to automatically update
3636
* the deployment when the model of the REST API changes.
3737
*/

packages/aws-cdk-lib/aws-s3/lib/bucket-grants.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class BucketGrants {
3939
}
4040

4141
/**
42-
* Grant read permissions for this bucket and it's contents to an IAM
42+
* Grant read permissions for this bucket and its contents to an IAM
4343
* principal (Role/Group/User).
4444
*
4545
* If encryption is used, permission to use the key to decrypt the contents
@@ -53,7 +53,7 @@ export class BucketGrants {
5353
}
5454

5555
/**
56-
* Grant write permissions for this bucket and it's contents to an IAM
56+
* Grant write permissions for this bucket and its contents to an IAM
5757
* principal (Role/Group/User).
5858
*
5959
* If encryption is used, permission to use the key to decrypt the contents
@@ -164,7 +164,7 @@ export class BucketGrants {
164164
}
165165

166166
/**
167-
* Grant read and write permissions for this bucket and it's contents to an IAM
167+
* Grant read and write permissions for this bucket and its contents to an IAM
168168
* principal (Role/Group/User).
169169
*
170170
* If encryption is used, permission to use the key to decrypt the contents

packages/aws-cdk-lib/aws-s3/lib/bucket.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export interface IBucket extends IResource, IBucketRef {
186186
arnForObjects(keyPattern: string): string;
187187

188188
/**
189-
* Grant read permissions for this bucket and it's contents to an IAM
189+
* Grant read permissions for this bucket and its contents to an IAM
190190
* principal (Role/Group/User).
191191
*
192192
* If encryption is used, permission to use the key to decrypt the contents
@@ -249,7 +249,7 @@ export interface IBucket extends IResource, IBucketRef {
249249
grantDelete(identity: iam.IGrantable, objectsKeyPattern?: any): iam.Grant;
250250

251251
/**
252-
* Grants read/write permissions for this bucket and it's contents to an IAM
252+
* Grants read/write permissions for this bucket and its contents to an IAM
253253
* principal (Role/Group/User).
254254
*
255255
* If an encryption key is used, permission to use the key for
@@ -857,7 +857,7 @@ export abstract class BucketBase extends Resource implements IBucket, IEncrypted
857857
}
858858

859859
/**
860-
* Grant read permissions for this bucket and it's contents to an IAM
860+
* Grant read permissions for this bucket and its contents to an IAM
861861
* principal (Role/Group/User).
862862
*
863863
* If encryption is used, permission to use the key to decrypt the contents

packages/aws-cdk-lib/core/lib/stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ export class Stack extends Construct implements ITaggable {
775775
}
776776

777777
/**
778-
* Indicates if this is a nested stack, in which case `parentStack` will include a reference to it's parent.
778+
* Indicates if this is a nested stack, in which case `parentStack` will include a reference to its parent.
779779
*/
780780
public get nested(): boolean {
781781
return this.nestedStackResource !== undefined;

packages/aws-cdk-lib/cx-api/lib/cxapi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const DEFAULT_REGION_ENV = 'CDK_DEFAULT_REGION';
2222
/**
2323
* Version of Cloud Assembly expected by CDK Toolkit.
2424
*
25-
* Despite it's name, this value applies to all version of the CDK Toolkit, not just the CLI.
25+
* Despite its name, this value applies to all version of the CDK Toolkit, not just the CLI.
2626
*
2727
* CLI started emitting this at 1.10.1
2828
*/

0 commit comments

Comments
 (0)