From 69d34072ae9886157f146dbf2f0d59c22b4a5f1f Mon Sep 17 00:00:00 2001 From: Shuto Yukawa Date: Tue, 31 Mar 2026 18:51:07 +0900 Subject: [PATCH] docs: fix "it's" to "its" (possessive) in source comments "it's" is a contraction of "it is" or "it has". The possessive form of "it" is "its" (no apostrophe). --- packages/@aws-cdk/aws-glue-alpha/lib/triggers/workflow.ts | 2 +- packages/aws-cdk-lib/aws-config/lib/rule.ts | 2 +- .../aws-ecs-patterns/lib/base/queue-processing-service-base.ts | 2 +- packages/aws-cdk-lib/core/lib/cfn-parameter.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/@aws-cdk/aws-glue-alpha/lib/triggers/workflow.ts b/packages/@aws-cdk/aws-glue-alpha/lib/triggers/workflow.ts index a39608fbcf479..cd8286b408e0c 100644 --- a/packages/@aws-cdk/aws-glue-alpha/lib/triggers/workflow.ts +++ b/packages/@aws-cdk/aws-glue-alpha/lib/triggers/workflow.ts @@ -388,7 +388,7 @@ export class Workflow extends WorkflowBase { } /** - * Import an workflow from it's name + * Import a workflow from its name */ public static fromWorkflowArn(scope: constructs.Construct, id: string, workflowArn: string): IWorkflow { return this.fromWorkflowAttributes(scope, id, { diff --git a/packages/aws-cdk-lib/aws-config/lib/rule.ts b/packages/aws-cdk-lib/aws-config/lib/rule.ts index e3df58713fb2e..9a87391a0fc99 100644 --- a/packages/aws-cdk-lib/aws-config/lib/rule.ts +++ b/packages/aws-cdk-lib/aws-config/lib/rule.ts @@ -818,7 +818,7 @@ export class ManagedRuleIdentifiers { public static readonly CLB_MULTIPLE_AZ = 'CLB_MULTIPLE_AZ'; /** * Checks whether an AWS CloudFormation stack's actual configuration differs, or has drifted, - * from it's expected configuration. + * from its expected configuration. * @see https://docs.aws.amazon.com/config/latest/developerguide/cloudformation-stack-drift-detection-check.html */ public static readonly CLOUDFORMATION_STACK_DRIFT_DETECTION_CHECK = 'CLOUDFORMATION_STACK_DRIFT_DETECTION_CHECK'; diff --git a/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/queue-processing-service-base.ts b/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/queue-processing-service-base.ts index 272e05013b63f..3b1146becc847 100644 --- a/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/queue-processing-service-base.ts +++ b/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/queue-processing-service-base.ts @@ -347,7 +347,7 @@ export abstract class QueueProcessingServiceBase extends Construct { const errorProps = ['retentionPeriod', 'visibilityTimeout', 'maxReceiveCount'].filter(prop => props.hasOwnProperty(prop)); throw new ValidationError('OnlyQueue', `${errorProps.join(', ')} can be set only when queue is not set. Specify them in the QueueProps of the queue`, this); } - // Create the SQS queue and it's corresponding DLQ if one is not provided + // Create the SQS queue and its corresponding DLQ if one is not provided if (props.queue) { this.sqsQueue = props.queue; } else { diff --git a/packages/aws-cdk-lib/core/lib/cfn-parameter.ts b/packages/aws-cdk-lib/core/lib/cfn-parameter.ts index e51c808391068..8e682b2c8c8c0 100644 --- a/packages/aws-cdk-lib/core/lib/cfn-parameter.ts +++ b/packages/aws-cdk-lib/core/lib/cfn-parameter.ts @@ -114,7 +114,7 @@ export class CfnParameter extends CfnElement { /** * Creates a parameter construct. - * Note that the name (logical ID) of the parameter will derive from it's `coname` and location + * Note that the name (logical ID) of the parameter will derive from its `coname` and location * within the stack. Therefore, it is recommended that parameters are defined at the stack level. * * @param scope The parent construct.