Skip to content

Commit e30485d

Browse files
committed
docs: fix "a origin" to "an origin" and "a instance" to "an instance"
Fix incorrect indefinite article before words starting with vowel sounds: "origin" and "instance" both start with vowel sounds and require "an".
1 parent 012cf32 commit e30485d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/aws-cdk-lib/aws-cloudfront-origins/lib/function-url-origin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface FunctionUrlOriginProps extends cloudfront.OriginProps {
4242
}
4343

4444
/**
45-
* Properties for configuring a origin using a standard Lambda Functions URLs.
45+
* Properties for configuring an origin using a standard Lambda Functions URLs.
4646
*/
4747
export interface FunctionUrlOriginBaseProps extends cloudfront.OriginProps { }
4848

packages/aws-cdk-lib/aws-cloudfront-origins/lib/s3-bucket-origin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const KEY_ACTIONS: Record<string, string[]> = {
2626
};
2727

2828
/**
29-
* Properties for configuring a origin using a standard S3 bucket
29+
* Properties for configuring an origin using a standard S3 bucket
3030
*/
3131
export interface S3BucketOriginBaseProps extends cloudfront.OriginProps { }
3232

packages/aws-cdk-lib/aws-cloudfront-origins/lib/s3-static-website-origin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as cloudfront from '../../aws-cloudfront';
44
import type { IBucket } from '../../aws-s3';
55

66
/**
7-
* Properties for configuring a origin using a S3 bucket configured as a website endpoint
7+
* Properties for configuring an origin using a S3 bucket configured as a website endpoint
88
*/
99
export interface S3StaticWebsiteOriginProps extends HttpOriginProps { }
1010

packages/aws-cdk-lib/aws-ec2/lib/nat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export abstract class NatProvider {
8484
* @see https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html
8585
*
8686
* @deprecated use instanceV2. 'instance' is deprecated since NatInstanceProvider
87-
* uses a instance image that has reached EOL on Dec 31 2023
87+
* uses an instance image that has reached EOL on Dec 31 2023
8888
*/
8989
public static instance(props: NatInstanceProps): NatInstanceProvider {
9090
return new NatInstanceProvider(props);

0 commit comments

Comments
 (0)