Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ed committed Oct 6, 2023
1 parent 6c9889a commit efec706
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-rds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ const cluster = new rds.ServerlessCluster(this, 'AnotherCluster', {
autoPause: Duration.minutes(10), // default is to pause after 5 minutes of idle time
minCapacity: rds.AuroraCapacityUnit.ACU_8, // default is 2 Aurora capacity units (ACUs)
maxCapacity: rds.AuroraCapacityUnit.ACU_32, // default is 16 Aurora capacity units (ACUs)
timeout: Duration.seconds(300),
secondsBeforeTimeout: Duration.seconds(300),
timeoutAction: string("RollbackCapacityChange")
}
});
Expand Down
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-rds/test/serverless-cluster.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ describe('serverless cluster', () => {
minCapacity: AuroraCapacityUnit.ACU_1,
maxCapacity: AuroraCapacityUnit.ACU_128,
autoPause: cdk.Duration.minutes(10),
timeout: cdk.Duration.seconds(300),
secondsBeforeTimeout: cdk.Duration.seconds(300),
timeoutAction: String('RollbackCapacityChange'),
},
});
Expand All @@ -474,7 +474,7 @@ describe('serverless cluster', () => {
MaxCapacity: 128,
MinCapacity: 1,
SecondsUntilAutoPause: 600,
timeout: 300,
SecondsBeforeTimeout: 300,
timeoutAction: 'RollbackCapacityChange',
},
});
Expand Down

0 comments on commit efec706

Please sign in to comment.