File tree 3 files changed +3
-3
lines changed
packages/@aws-cdk/aws-neptune-alpha
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -732,7 +732,7 @@ export class DatabaseCluster extends DatabaseClusterBase implements IDatabaseClu
732
732
throw new Error ( `ServerlessScalingConfiguration minCapacity must be greater or equal than 1, received ${ serverlessScalingConfiguration . minCapacity } ` ) ;
733
733
}
734
734
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 } ` ) ;
736
736
}
737
737
if ( serverlessScalingConfiguration . minCapacity >= serverlessScalingConfiguration . maxCapacity ) {
738
738
throw new Error ( `ServerlessScalingConfiguration minCapacity ${ serverlessScalingConfiguration . minCapacity } ` +
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export class ParameterGroupFamily {
21
21
public static readonly NEPTUNE_1_3 = new ParameterGroupFamily ( 'neptune1.3' ) ;
22
22
23
23
/**
24
- * Constructor for specifying a custom parameter group famil
24
+ * Constructor for specifying a custom parameter group family
25
25
* @param family the family of the parameter group Neptune
26
26
*/
27
27
public constructor ( public readonly family : string ) { }
Original file line number Diff line number Diff line change @@ -835,7 +835,7 @@ describe('DatabaseCluster', () => {
835
835
maxCapacity : 200 ,
836
836
} ,
837
837
} ) ;
838
- } ) . toThrow ( / S e r v e r l e s s S c a l i n g C o n f i g u r a t i o n m a x C a p a c i t y m u s t b e b e t w e e n 2 .5 a n d 1 2 8 , r e v e i v e d 2 0 0 / ) ;
838
+ } ) . toThrow ( / S e r v e r l e s s S c a l i n g C o n f i g u r a t i o n m a x C a p a c i t y m u s t b e b e t w e e n 2 .5 a n d 1 2 8 , r e c e i v e d 2 0 0 / ) ;
839
839
840
840
expect ( ( ) => {
841
841
new DatabaseCluster ( stack , 'Database3' , {
You can’t perform that action at this time.
0 commit comments