Skip to content

Commit

Permalink
Merge branch 'main' into fix-iotevents-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Jan 14, 2025
2 parents 2a32a90 + c7d6fb6 commit 8c374f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-neptune-alpha/lib/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ export class DatabaseCluster extends DatabaseClusterBase implements IDatabaseClu
throw new Error(`ServerlessScalingConfiguration minCapacity must be greater or equal than 1, received ${serverlessScalingConfiguration.minCapacity}`);
}
if (serverlessScalingConfiguration.maxCapacity < 2.5 || serverlessScalingConfiguration.maxCapacity > 128) {
throw new Error(`ServerlessScalingConfiguration maxCapacity must be between 2.5 and 128, reveived ${serverlessScalingConfiguration.maxCapacity}`);
throw new Error(`ServerlessScalingConfiguration maxCapacity must be between 2.5 and 128, received ${serverlessScalingConfiguration.maxCapacity}`);
}
if (serverlessScalingConfiguration.minCapacity >= serverlessScalingConfiguration.maxCapacity) {
throw new Error(`ServerlessScalingConfiguration minCapacity ${serverlessScalingConfiguration.minCapacity} ` +
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-neptune-alpha/lib/parameter-group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class ParameterGroupFamily {
public static readonly NEPTUNE_1_3 = new ParameterGroupFamily('neptune1.3');

/**
* Constructor for specifying a custom parameter group famil
* Constructor for specifying a custom parameter group family
* @param family the family of the parameter group Neptune
*/
public constructor(public readonly family: string) {}
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-neptune-alpha/test/cluster.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ describe('DatabaseCluster', () => {
maxCapacity: 200,
},
});
}).toThrow(/ServerlessScalingConfiguration maxCapacity must be between 2.5 and 128, reveived 200/);
}).toThrow(/ServerlessScalingConfiguration maxCapacity must be between 2.5 and 128, received 200/);

expect(() => {
new DatabaseCluster(stack, 'Database3', {
Expand Down
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-pipes-alpha/lib/logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export interface S3LogDestinationProps {
* The S3 bucket to deliver the log records for the pipe.
*
* The bucket can be in the same or a different AWS Account. If the bucket is in
* a different acccount, specify `bucketOwner`. You must also allow access to the
* a different account, specify `bucketOwner`. You must also allow access to the
* Pipes role in the bucket policy of the cross-account bucket.
*
* @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-s3logdestination.html#cfn-pipes-pipe-s3logdestination-bucketname
Expand Down

0 comments on commit 8c374f1

Please sign in to comment.