Skip to content
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-appsync/lib/key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class KeyCondition {
}

/**
* Condition k > arg, true if the key attribute k is greater than the the Query argument
* Condition k > arg, true if the key attribute k is greater than the Query argument
*/
public static gt(keyName: string, arg: string): KeyCondition {
return new KeyCondition(new BinaryCondition(keyName, '>', arg));
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-dynamodb/lib/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export interface CsvOptions {
* List of the headers used to specify a common header for all source CSV files being imported.
*
* **NOTE**: If this field is specified then the first line of each CSV file is treated as data instead of the header.
* If this field is not specified the the first line of each CSV file is treated as the header.
* If this field is not specified the first line of each CSV file is treated as the header.
*
* @default - the first line of the CSV file is treated as the header
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-ec2/lib/vpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2491,7 +2491,7 @@ export class PublicSubnet extends Subnet implements IPublicSubnet {
/**
* Creates a new managed NAT gateway attached to this public subnet.
* Also adds the EIP for the managed NAT.
* @returns A ref to the the NAT Gateway ID
* @returns A ref to the NAT Gateway ID
*/
@MethodMetadata()
public addNatGateway(eipAllocationId?: string) {
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-ecr-assets/lib/tarball-asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface TarballImageAssetProps {
/**
* Absolute path to the tarball.
*
* It is recommended to to use the script running directory (e.g. `__dirname`
* It is recommended to use the script running directory (e.g. `__dirname`
* in Node.js projects or dirname of `__file__` in Python) if your tarball
* is located as a resource inside your project.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export enum LoadBalancingProtocol {
/**
* A load balancer with a single listener
*
* Routes to a fleet of of instances in a VPC.
* Routes to a fleet of instances in a VPC.
*/
@propertyInjectable
export class LoadBalancer extends Resource implements ILoadBalancer, IConnectable {
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-events-targets/lib/log-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export abstract class LogGroupTargetInput {
}

/**
* Pass a JSON object to the the log group event target
* Pass a JSON object to the log group event target
*
* May contain strings returned by `EventField.from()` to substitute in parts of the
* matched event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class BucketNotifications extends Construct {
resource.node.addDependency(...targetProps.dependencies);
}

// based on the target type, add the the correct configurations array
// based on the target type, add the correct configurations array
switch (targetProps.type) {
case BucketNotificationDestinationType.LAMBDA:
this.lambdaNotifications.push({ ...commonConfig, LambdaFunctionArn: targetProps.arn });
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/core/lib/duration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export class Duration {
/**
* Returns a string representation of this `Duration`
*
* This is is never the right function to use when you want to use the `Duration`
* This is never the right function to use when you want to use the `Duration`
* object in a template. Use `toSeconds()`, `toMinutes()`, `toDays()`, etc. instead.
*/
public toString(): string {
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/core/lib/private/asset-staging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export class AssetBundlingVolumeCopy extends AssetBundlingBase {
}

/**
* copy files from the the output volume to the host where this is executed
* copy files from the output volume to the host where this is executed
* @param outputPath - path to folder where files should be copied to - without trailing slash
*/
private copyOutputTo(outputPath: string) {
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/core/lib/stage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export interface StageProps {
* application.
*
* You can then instantiate your subclass multiple times to model multiple
* copies of your application which should be be deployed to different
* copies of your application which should be deployed to different
* environments.
*/
export class Stage extends Construct {
Expand Down
Loading