Skip to content

Commit

Permalink
Update ServerlessV2ScalingConfig.java
Browse files Browse the repository at this point in the history
  • Loading branch information
harjain99 committed Nov 26, 2024
1 parent aec153c commit 9a7226b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/gyro/aws/rds/ServerlessV2ScalingConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import gyro.aws.Copyable;
import gyro.core.resource.Diffable;
import gyro.core.resource.Updatable;
import software.amazon.awssdk.services.rds.model.ServerlessV2ScalingConfiguration;
import software.amazon.awssdk.services.rds.model.ServerlessV2ScalingConfigurationInfo;

Expand All @@ -13,6 +14,7 @@ public class ServerlessV2ScalingConfig extends Diffable implements Copyable<Serv
/**
* The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
*/
@Updatable
public Double getMaxCapacity() {
return maxCapacity;
}
Expand All @@ -24,6 +26,7 @@ public void setMaxCapacity(Double maxCapacity) {
/**
* The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
*/
@Updatable
public Double getMinCapacity() {
return minCapacity;
}
Expand Down

0 comments on commit 9a7226b

Please sign in to comment.