Skip to content

Commit 99acb35

Browse files
AndrewAsseilyPrashant Bharti
andauthored
Add Express Configuration example to create-db-cluster CLI docs (#10300)
Co-authored-by: Prashant Bharti <bhartipr@amazon.com>
1 parent ce5dc5e commit 99acb35

1 file changed

Lines changed: 67 additions & 0 deletions

File tree

awscli/examples/rds/create-db-cluster.rst

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,71 @@ Output::
115115
}
116116
}
117117

118+
**Example 3: To create an Aurora PostgreSQL DB cluster with Express Configuration**
119+
120+
The following ``create-db-cluster`` example creates an Aurora PostgreSQL-compatible DB cluster with Express Configuration enabled. Unlike the standard create cluster, Express Configuration automatically adds a DB instance ``sample-cluster-instance-1`` for your DB cluster, so you don't need to separately call the ``create-db-instance`` AWS CLI command. ::
121+
122+
aws rds create-db-cluster \
123+
--db-cluster-identifier sample-cluster \
124+
--engine aurora-postgresql \
125+
--with-express-configuration
126+
127+
Output::
128+
129+
{
130+
"DBCluster": {
131+
"AllocatedStorage": 1,
132+
"AvailabilityZones": [
133+
"us-east-1c",
134+
"us-east-1a",
135+
"us-east-1b"
136+
],
137+
"BackupRetentionPeriod": 7,
138+
"DBClusterIdentifier": "sample-cluster",
139+
"DBClusterParameterGroup": "default.aurora-postgresql17",
140+
"Status": "creating",
141+
"MultiAZ": false,
142+
"Engine": "aurora-postgresql",
143+
"EngineVersion": "17.7",
144+
"Port": 5432,
145+
"MasterUsername": "postgres",
146+
"PreferredBackupWindow": "06:15-06:45",
147+
"PreferredMaintenanceWindow": "sat:03:44-sat:04:14",
148+
"ReadReplicaIdentifiers": [],
149+
"DBClusterMembers": [
150+
{
151+
"DBInstanceIdentifier": "sample-cluster-instance-1",
152+
"IsClusterWriter": false,
153+
"DBClusterParameterGroupStatus": "in-sync",
154+
"PromotionTier": 1
155+
}
156+
],
157+
"VpcSecurityGroups": [],
158+
"StorageEncrypted": false,
159+
"DbClusterResourceId": "cluster-EXAMPLE4RESOURCE",
160+
"DBClusterArn": "arn:aws:rds:us-east-1:123456789012:cluster:sample-cluster",
161+
"AssociatedRoles": [],
162+
"IAMDatabaseAuthenticationEnabled": true,
163+
"ClusterCreateTime": "2026-01-10T22:14:02Z",
164+
"EngineMode": "provisioned",
165+
"AutoMinorVersionUpgrade": true,
166+
"DeletionProtection": false,
167+
"HttpEndpointEnabled": false,
168+
"CopyTagsToSnapshot": false,
169+
"CrossAccountClone": false,
170+
"DomainMemberships": [],
171+
"TagList": [],
172+
"ServerlessV2ScalingConfiguration": {
173+
"MinCapacity": 0.0,
174+
"MaxCapacity": 16.0,
175+
"SecondsUntilAutoPause": 300
176+
},
177+
"ServerlessV2PlatformVersion": "3",
178+
"DatabaseInsightsMode": "standard",
179+
"PerformanceInsightsEnabled": false,
180+
"LocalWriteForwardingStatus": "disabled",
181+
"EngineLifecycleSupport": "open-source-rds-extended-support"
182+
}
183+
}
184+
118185
For more information, see `Creating an Amazon Aurora DB cluster <https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.CreateInstance.html>`__ in the *Amazon Aurora User Guide*.

0 commit comments

Comments
 (0)