Skip to content

Commit c7d6fb6

Browse files
authored
docs(neptune-alpha): fix typos (#32913)
### Issue # (if applicable) None ### Reason for this change Fixed typos in code comments. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 8e9d7a0 commit c7d6fb6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/@aws-cdk/aws-neptune-alpha/lib/cluster.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ export class DatabaseCluster extends DatabaseClusterBase implements IDatabaseClu
732732
throw new Error(`ServerlessScalingConfiguration minCapacity must be greater or equal than 1, received ${serverlessScalingConfiguration.minCapacity}`);
733733
}
734734
if (serverlessScalingConfiguration.maxCapacity < 2.5 || serverlessScalingConfiguration.maxCapacity > 128) {
735-
throw new Error(`ServerlessScalingConfiguration maxCapacity must be between 2.5 and 128, reveived ${serverlessScalingConfiguration.maxCapacity}`);
735+
throw new Error(`ServerlessScalingConfiguration maxCapacity must be between 2.5 and 128, received ${serverlessScalingConfiguration.maxCapacity}`);
736736
}
737737
if (serverlessScalingConfiguration.minCapacity >= serverlessScalingConfiguration.maxCapacity) {
738738
throw new Error(`ServerlessScalingConfiguration minCapacity ${serverlessScalingConfiguration.minCapacity} ` +

packages/@aws-cdk/aws-neptune-alpha/lib/parameter-group.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class ParameterGroupFamily {
2121
public static readonly NEPTUNE_1_3 = new ParameterGroupFamily('neptune1.3');
2222

2323
/**
24-
* Constructor for specifying a custom parameter group famil
24+
* Constructor for specifying a custom parameter group family
2525
* @param family the family of the parameter group Neptune
2626
*/
2727
public constructor(public readonly family: string) {}

packages/@aws-cdk/aws-neptune-alpha/test/cluster.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ describe('DatabaseCluster', () => {
835835
maxCapacity: 200,
836836
},
837837
});
838-
}).toThrow(/ServerlessScalingConfiguration maxCapacity must be between 2.5 and 128, reveived 200/);
838+
}).toThrow(/ServerlessScalingConfiguration maxCapacity must be between 2.5 and 128, received 200/);
839839

840840
expect(() => {
841841
new DatabaseCluster(stack, 'Database3', {

0 commit comments

Comments
 (0)