Skip to content

Commit ace3abd

Browse files
author
AWS
committed
Amazon DocumentDB with MongoDB compatibility Update: Enable copy-on-write restore type
1 parent 1434dba commit ace3abd

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon DocumentDB with MongoDB compatibility",
4+
"contributor": "",
5+
"description": "Enable copy-on-write restore type"
6+
}

services/docdb/src/main/resources/codegen-resources/service-2.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,6 +1457,10 @@
14571457
"shape":"String",
14581458
"documentation":"<p>The identifier of the cluster that the instance will belong to.</p>"
14591459
},
1460+
"CopyTagsToSnapshot":{
1461+
"shape":"BooleanOptional",
1462+
"documentation":"<p>A value that indicates whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.</p>"
1463+
},
14601464
"PromotionTier":{
14611465
"shape":"IntegerOptional",
14621466
"documentation":"<p>A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.</p> <p>Default: 1</p> <p>Valid values: 0-15</p>"
@@ -1711,6 +1715,10 @@
17111715
"shape":"DBClusterRoles",
17121716
"documentation":"<p>Provides a list of the Identity and Access Management (IAM) roles that are associated with the cluster. (IAM) roles that are associated with a cluster grant permission for the cluster to access other Amazon Web Services services on your behalf.</p>"
17131717
},
1718+
"CloneGroupId":{
1719+
"shape":"String",
1720+
"documentation":"<p>Identifies the clone group to which the DB cluster is associated.</p>"
1721+
},
17141722
"ClusterCreateTime":{
17151723
"shape":"TStamp",
17161724
"documentation":"<p>Specifies the time when the cluster was created, in Universal Coordinated Time (UTC).</p>"
@@ -2225,6 +2233,10 @@
22252233
"shape":"String",
22262234
"documentation":"<p>The identifier of the CA certificate for this DB instance.</p>"
22272235
},
2236+
"CopyTagsToSnapshot":{
2237+
"shape":"BooleanOptional",
2238+
"documentation":"<p>A value that indicates whether to copy tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.</p>"
2239+
},
22282240
"PromotionTier":{
22292241
"shape":"IntegerOptional",
22302242
"documentation":"<p>A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.</p>"
@@ -3830,6 +3842,10 @@
38303842
"shape":"String",
38313843
"documentation":"<p>Indicates the certificate that needs to be associated with the instance.</p>"
38323844
},
3845+
"CopyTagsToSnapshot":{
3846+
"shape":"BooleanOptional",
3847+
"documentation":"<p>A value that indicates whether to copy all tags from the DB instance to snapshots of the DB instance. By default, tags are not copied.</p>"
3848+
},
38333849
"PromotionTier":{
38343850
"shape":"IntegerOptional",
38353851
"documentation":"<p>A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.</p> <p>Default: 1</p> <p>Valid values: 0-15</p>"
@@ -4396,6 +4412,10 @@
43964412
"shape":"String",
43974413
"documentation":"<p>The name of the new cluster to be created.</p> <p>Constraints:</p> <ul> <li> <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p> </li> <li> <p>The first character must be a letter.</p> </li> <li> <p>Cannot end with a hyphen or contain two consecutive hyphens.</p> </li> </ul>"
43984414
},
4415+
"RestoreType":{
4416+
"shape":"String",
4417+
"documentation":"<p>The type of restore to be performed. You can specify one of the following values:</p> <ul> <li> <p> <code>full-copy</code> - The new DB cluster is restored as a full copy of the source DB cluster.</p> </li> <li> <p> <code>copy-on-write</code> - The new DB cluster is restored as a clone of the source DB cluster.</p> </li> </ul> <p>Constraints: You can't specify <code>copy-on-write</code> if the engine version of the source DB cluster is earlier than 1.11.</p> <p>If you don't specify a <code>RestoreType</code> value, then the new DB cluster is restored as a full copy of the source DB cluster.</p>"
4418+
},
43994419
"SourceDBClusterIdentifier":{
44004420
"shape":"String",
44014421
"documentation":"<p>The identifier of the source cluster from which to restore.</p> <p>Constraints:</p> <ul> <li> <p>Must match the identifier of an existing <code>DBCluster</code>.</p> </li> </ul>"

0 commit comments

Comments
 (0)