@@ -52,22 +52,23 @@ type CreateDBInstanceInput struct {
52
52
// CreateDBClusterInput is the input for creating a new database cluster
53
53
// based on https://docs.aws.amazon.com/sdk-for-go/api/service/rds/#CreateDBClusterInput
54
54
type CreateDBClusterInput struct {
55
- BackupRetentionPeriod * int64
56
- DBClusterIdentifier * string
57
- DBClusterParameterGroupName * string
58
- DBSubnetGroupName * string
59
- EnableCloudwatchLogsExports []* string
60
- Engine * string
61
- EngineMode * string
62
- EngineVersion * string
63
- MasterUserPassword * string
64
- MasterUsername * string
65
- Port * int64
66
- ScalingConfiguration * ScalingConfiguration
67
- SnapshotIdentifier * string
68
- StorageEncrypted * bool
69
- Tags []* Tag
70
- VpcSecurityGroupIds []* string
55
+ BackupRetentionPeriod * int64
56
+ DBClusterIdentifier * string
57
+ DBClusterParameterGroupName * string
58
+ DBSubnetGroupName * string
59
+ EnableCloudwatchLogsExports []* string
60
+ Engine * string
61
+ EngineMode * string
62
+ EngineVersion * string
63
+ MasterUserPassword * string
64
+ MasterUsername * string
65
+ Port * int64
66
+ ScalingConfiguration * ScalingConfiguration
67
+ ServerlessV2ScalingConfiguration * ServerlessV2ScalingConfiguration
68
+ SnapshotIdentifier * string
69
+ StorageEncrypted * bool
70
+ Tags []* Tag
71
+ VpcSecurityGroupIds []* string
71
72
}
72
73
73
74
type ScalingConfiguration struct {
@@ -78,6 +79,11 @@ type ScalingConfiguration struct {
78
79
TimeoutAction * string
79
80
}
80
81
82
+ type ServerlessV2ScalingConfiguration struct {
83
+ MaxCapacity * float64
84
+ MinCapacity * float64
85
+ }
86
+
81
87
type Tag struct {
82
88
Key * string
83
89
Value * string
0 commit comments