|
404 | 404 | "shape":"String", |
405 | 405 | "documentation":"<p>The Amazon Web Services Region for a plan execution.</p>" |
406 | 406 | }, |
| 407 | + "recoveryExecutionId":{ |
| 408 | + "shape":"String", |
| 409 | + "documentation":"<p>The unique identifier of the most recent recovery execution. Required when starting a post-recovery execution.</p>" |
| 410 | + }, |
407 | 411 | "actualRecoveryTime":{ |
408 | 412 | "shape":"Duration", |
409 | 413 | "documentation":"<p>The actual recovery time that Region switch calculates for a plan execution. Actual recovery time includes the time for the plan to run added to the time elapsed until the application health alarms that you've specified are healthy again.</p>" |
|
791 | 795 | }, |
792 | 796 | "regionToRun":{ |
793 | 797 | "shape":"RegionToRunIn", |
794 | | - "documentation":"<p>The Amazon Web Services Region for the function to run in.</p>" |
| 798 | + "documentation":"<p>The Amazon Web Services Region for the function to run in. For recovery workflows use <code>activatingRegion</code> or <code>deactivatingRegion</code>. For post-recovery workflows, use <code>activeRegion</code> (the Region with customer traffic) or <code>inactiveRegion</code> (the Region with no customer traffic).</p>" |
795 | 799 | }, |
796 | 800 | "ungraceful":{ |
797 | 801 | "shape":"LambdaUngraceful", |
|
1127 | 1131 | "type":"string", |
1128 | 1132 | "enum":[ |
1129 | 1133 | "activate", |
1130 | | - "deactivate" |
| 1134 | + "deactivate", |
| 1135 | + "postRecovery" |
1131 | 1136 | ] |
1132 | 1137 | }, |
1133 | 1138 | "ExecutionApprovalConfiguration":{ |
|
1193 | 1198 | "shape":"Route53HealthCheckConfiguration", |
1194 | 1199 | "documentation":"<p>The Amazon Route 53 health check configuration.</p>" |
1195 | 1200 | }, |
1196 | | - "documentDbConfig":{"shape":"DocumentDbConfiguration"} |
| 1201 | + "documentDbConfig":{"shape":"DocumentDbConfiguration"}, |
| 1202 | + "rdsPromoteReadReplicaConfig":{ |
| 1203 | + "shape":"RdsPromoteReadReplicaConfiguration", |
| 1204 | + "documentation":"<p>An Amazon RDS promote read replica execution block.</p>" |
| 1205 | + }, |
| 1206 | + "rdsCreateCrossRegionReadReplicaConfig":{ |
| 1207 | + "shape":"RdsCreateCrossRegionReplicaConfiguration", |
| 1208 | + "documentation":"<p>An Amazon RDS create cross-Region replica execution block.</p>" |
| 1209 | + } |
1197 | 1210 | }, |
1198 | 1211 | "documentation":"<p>Execution block configurations for a workflow in a Region switch plan. An execution block represents a specific type of action to perform during a Region switch.</p>", |
1199 | 1212 | "union":true |
|
1211 | 1224 | "ECSServiceScaling", |
1212 | 1225 | "EKSResourceScaling", |
1213 | 1226 | "Route53HealthCheck", |
1214 | | - "DocumentDb" |
| 1227 | + "DocumentDb", |
| 1228 | + "RdsPromoteReadReplica", |
| 1229 | + "RdsCreateCrossRegionReplica" |
1215 | 1230 | ] |
1216 | 1231 | }, |
1217 | 1232 | "ExecutionComment":{ |
|
1500 | 1515 | "shape":"String", |
1501 | 1516 | "documentation":"<p>The Amazon Web Services Region for a plan execution.</p>" |
1502 | 1517 | }, |
| 1518 | + "recoveryExecutionId":{ |
| 1519 | + "shape":"String", |
| 1520 | + "documentation":"<p>The unique identifier of the most recent recovery execution. Required when starting a post-recovery execution.</p>" |
| 1521 | + }, |
1503 | 1522 | "stepStates":{ |
1504 | 1523 | "shape":"StepStates", |
1505 | 1524 | "documentation":"<p>The states of the steps in the plan execution.</p>" |
|
2160 | 2179 | "type":"list", |
2161 | 2180 | "member":{"shape":"ResourceWarning"} |
2162 | 2181 | }, |
| 2182 | + "RdsCreateCrossRegionReplicaConfiguration":{ |
| 2183 | + "type":"structure", |
| 2184 | + "required":["dbInstanceArnMap"], |
| 2185 | + "members":{ |
| 2186 | + "timeoutMinutes":{ |
| 2187 | + "shape":"RdsCreateCrossRegionReplicaConfigurationTimeoutMinutesInteger", |
| 2188 | + "documentation":"<p>The timeout value specified for the configuration.</p>" |
| 2189 | + }, |
| 2190 | + "crossAccountRole":{ |
| 2191 | + "shape":"IamRoleArn", |
| 2192 | + "documentation":"<p>The cross-account role for the configuration.</p>" |
| 2193 | + }, |
| 2194 | + "externalId":{ |
| 2195 | + "shape":"String", |
| 2196 | + "documentation":"<p>The external ID (secret key) for the configuration.</p>" |
| 2197 | + }, |
| 2198 | + "dbInstanceArnMap":{ |
| 2199 | + "shape":"RdsDbInstanceArnMap", |
| 2200 | + "documentation":"<p>A map of database instance ARNs for each Region in the plan.</p>" |
| 2201 | + } |
| 2202 | + }, |
| 2203 | + "documentation":"<p>Configuration for creating an Amazon RDS cross-Region read replica during post-recovery in a Region switch.</p>" |
| 2204 | + }, |
| 2205 | + "RdsCreateCrossRegionReplicaConfigurationTimeoutMinutesInteger":{ |
| 2206 | + "type":"integer", |
| 2207 | + "box":true, |
| 2208 | + "min":1 |
| 2209 | + }, |
| 2210 | + "RdsDbInstanceArn":{ |
| 2211 | + "type":"string", |
| 2212 | + "pattern":"arn:aws[a-zA-Z-]*:rds:[a-z0-9-]+:\\d{12}:db:[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9]+)*" |
| 2213 | + }, |
| 2214 | + "RdsDbInstanceArnMap":{ |
| 2215 | + "type":"map", |
| 2216 | + "key":{"shape":"Region"}, |
| 2217 | + "value":{"shape":"RdsDbInstanceArn"} |
| 2218 | + }, |
| 2219 | + "RdsPromoteReadReplicaConfiguration":{ |
| 2220 | + "type":"structure", |
| 2221 | + "required":["dbInstanceArnMap"], |
| 2222 | + "members":{ |
| 2223 | + "timeoutMinutes":{ |
| 2224 | + "shape":"RdsPromoteReadReplicaConfigurationTimeoutMinutesInteger", |
| 2225 | + "documentation":"<p>The timeout value specified for the configuration.</p>" |
| 2226 | + }, |
| 2227 | + "crossAccountRole":{ |
| 2228 | + "shape":"IamRoleArn", |
| 2229 | + "documentation":"<p>The cross-account role for the configuration.</p>" |
| 2230 | + }, |
| 2231 | + "externalId":{ |
| 2232 | + "shape":"String", |
| 2233 | + "documentation":"<p>The external ID (secret key) for the configuration.</p>" |
| 2234 | + }, |
| 2235 | + "dbInstanceArnMap":{ |
| 2236 | + "shape":"RdsDbInstanceArnMap", |
| 2237 | + "documentation":"<p>A map of database instance ARNs for each Region in the plan.</p>" |
| 2238 | + } |
| 2239 | + }, |
| 2240 | + "documentation":"<p>Configuration for promoting an Amazon RDS read replica to a standalone database instance during a Region switch.</p>" |
| 2241 | + }, |
| 2242 | + "RdsPromoteReadReplicaConfigurationTimeoutMinutesInteger":{ |
| 2243 | + "type":"integer", |
| 2244 | + "box":true, |
| 2245 | + "min":1 |
| 2246 | + }, |
2163 | 2247 | "RecoveryApproach":{ |
2164 | 2248 | "type":"string", |
2165 | 2249 | "enum":[ |
2166 | 2250 | "activeActive", |
2167 | 2251 | "activePassive" |
2168 | 2252 | ] |
2169 | 2253 | }, |
| 2254 | + "RecoveryExecutionId":{ |
| 2255 | + "type":"string", |
| 2256 | + "pattern":"[a-z]{2}(-[a-z]+)+-[0-9]+/[0-9a-fA-F]{16}" |
| 2257 | + }, |
2170 | 2258 | "Region":{ |
2171 | 2259 | "type":"string", |
2172 | 2260 | "pattern":"[a-z]{2}-[a-z-]+-\\d+" |
|
2205 | 2293 | "type":"string", |
2206 | 2294 | "enum":[ |
2207 | 2295 | "activatingRegion", |
2208 | | - "deactivatingRegion" |
| 2296 | + "deactivatingRegion", |
| 2297 | + "activeRegion", |
| 2298 | + "inactiveRegion" |
2209 | 2299 | ] |
2210 | 2300 | }, |
2211 | 2301 | "RegionalScalingResource":{ |
|
2538 | 2628 | "latestVersion":{ |
2539 | 2629 | "shape":"String", |
2540 | 2630 | "documentation":"<p>A boolean value indicating whether to use the latest version of the plan. If set to false, you must specify a specific version.</p>" |
| 2631 | + }, |
| 2632 | + "recoveryExecutionId":{ |
| 2633 | + "shape":"RecoveryExecutionId", |
| 2634 | + "documentation":"<p>The execution identifier of the recovery execution that ran in the opposite region post-recovery is ran in. Required when starting a post-recovery execution.</p>" |
2541 | 2635 | } |
2542 | 2636 | } |
2543 | 2637 | }, |
|
2937 | 3031 | "type":"string", |
2938 | 3032 | "enum":[ |
2939 | 3033 | "activate", |
2940 | | - "deactivate" |
| 3034 | + "deactivate", |
| 3035 | + "postRecovery" |
2941 | 3036 | ] |
2942 | 3037 | } |
2943 | 3038 | }, |
|
0 commit comments