aws-sdk-arcregionswitch 1.15.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-arcregionswitch/client.rb +1 -1
- data/lib/aws-sdk-arcregionswitch.rb +1 -1
- data/sig/client.rbs +6 -380
- data/sig/params.rbs +228 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 933540d7457e02987828ca37838bd6caba7b63248dfbc4e3f29405c38e637dd8
|
|
4
|
+
data.tar.gz: 88a91aec03f796eee588db6cf1a632f270e7e7d02604b81c9906294e20b29bc7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9396c5fe6ffa6ca990fd8b489a732e533a017612d2129509822e10e7547f1edd6898c1bf89947acfe7d7670ff024a1745097f937fee714fb21c6f990afd376d0
|
|
7
|
+
data.tar.gz: c45933824f211de5d0d0f1aee86adadee373bc935af4cd7f0cb67f0ebd8039a2cb12762729868284d46feb9549d9571997783becd90eb61fe26c274dba1333e8
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.16.0
|
|
@@ -2672,7 +2672,7 @@ module Aws::ARCRegionswitch
|
|
|
2672
2672
|
tracer: tracer
|
|
2673
2673
|
)
|
|
2674
2674
|
context[:gem_name] = 'aws-sdk-arcregionswitch'
|
|
2675
|
-
context[:gem_version] = '1.
|
|
2675
|
+
context[:gem_version] = '1.16.0'
|
|
2676
2676
|
Seahorse::Client::Request.new(handlers, context)
|
|
2677
2677
|
end
|
|
2678
2678
|
|
data/sig/client.rbs
CHANGED
|
@@ -111,174 +111,7 @@ module Aws
|
|
|
111
111
|
def create_plan: (
|
|
112
112
|
?description: ::String,
|
|
113
113
|
workflows: Array[
|
|
114
|
-
|
|
115
|
-
steps: Array[
|
|
116
|
-
{
|
|
117
|
-
name: ::String,
|
|
118
|
-
description: ::String?,
|
|
119
|
-
execution_block_configuration: {
|
|
120
|
-
custom_action_lambda_config: {
|
|
121
|
-
timeout_minutes: ::Integer?,
|
|
122
|
-
lambdas: Array[
|
|
123
|
-
{
|
|
124
|
-
cross_account_role: ::String?,
|
|
125
|
-
external_id: ::String?,
|
|
126
|
-
arn: ::String?
|
|
127
|
-
},
|
|
128
|
-
],
|
|
129
|
-
retry_interval_minutes: ::Float,
|
|
130
|
-
region_to_run: ("activatingRegion" | "deactivatingRegion" | "activeRegion" | "inactiveRegion"),
|
|
131
|
-
ungraceful: {
|
|
132
|
-
behavior: ("skip")?
|
|
133
|
-
}?
|
|
134
|
-
}?,
|
|
135
|
-
ec2_asg_capacity_increase_config: {
|
|
136
|
-
timeout_minutes: ::Integer?,
|
|
137
|
-
asgs: Array[
|
|
138
|
-
{
|
|
139
|
-
cross_account_role: ::String?,
|
|
140
|
-
external_id: ::String?,
|
|
141
|
-
arn: ::String?
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
ungraceful: {
|
|
145
|
-
minimum_success_percentage: ::Integer
|
|
146
|
-
}?,
|
|
147
|
-
target_percent: ::Integer?,
|
|
148
|
-
capacity_monitoring_approach: ("sampledMaxInLast24Hours" | "autoscalingMaxInLast24Hours")?
|
|
149
|
-
}?,
|
|
150
|
-
execution_approval_config: {
|
|
151
|
-
timeout_minutes: ::Integer?,
|
|
152
|
-
approval_role: ::String
|
|
153
|
-
}?,
|
|
154
|
-
arc_routing_control_config: {
|
|
155
|
-
timeout_minutes: ::Integer?,
|
|
156
|
-
cross_account_role: ::String?,
|
|
157
|
-
external_id: ::String?,
|
|
158
|
-
region_and_routing_controls: Hash[::String, Array[
|
|
159
|
-
{
|
|
160
|
-
routing_control_arn: ::String,
|
|
161
|
-
state: ("On" | "Off")
|
|
162
|
-
},
|
|
163
|
-
]]
|
|
164
|
-
}?,
|
|
165
|
-
global_aurora_config: {
|
|
166
|
-
timeout_minutes: ::Integer?,
|
|
167
|
-
cross_account_role: ::String?,
|
|
168
|
-
external_id: ::String?,
|
|
169
|
-
behavior: ("switchoverOnly" | "failover"),
|
|
170
|
-
ungraceful: {
|
|
171
|
-
ungraceful: ("failover")?
|
|
172
|
-
}?,
|
|
173
|
-
global_cluster_identifier: ::String,
|
|
174
|
-
database_cluster_arns: Array[::String]
|
|
175
|
-
}?,
|
|
176
|
-
parallel_config: {
|
|
177
|
-
steps: untyped
|
|
178
|
-
}?,
|
|
179
|
-
region_switch_plan_config: {
|
|
180
|
-
cross_account_role: ::String?,
|
|
181
|
-
external_id: ::String?,
|
|
182
|
-
arn: ::String
|
|
183
|
-
}?,
|
|
184
|
-
ecs_capacity_increase_config: {
|
|
185
|
-
timeout_minutes: ::Integer?,
|
|
186
|
-
services: Array[
|
|
187
|
-
{
|
|
188
|
-
cross_account_role: ::String?,
|
|
189
|
-
external_id: ::String?,
|
|
190
|
-
cluster_arn: ::String?,
|
|
191
|
-
service_arn: ::String?
|
|
192
|
-
},
|
|
193
|
-
],
|
|
194
|
-
ungraceful: {
|
|
195
|
-
minimum_success_percentage: ::Integer
|
|
196
|
-
}?,
|
|
197
|
-
target_percent: ::Integer?,
|
|
198
|
-
capacity_monitoring_approach: ("sampledMaxInLast24Hours" | "containerInsightsMaxInLast24Hours")?
|
|
199
|
-
}?,
|
|
200
|
-
eks_resource_scaling_config: {
|
|
201
|
-
timeout_minutes: ::Integer?,
|
|
202
|
-
kubernetes_resource_type: {
|
|
203
|
-
api_version: ::String,
|
|
204
|
-
kind: ::String
|
|
205
|
-
},
|
|
206
|
-
scaling_resources: Array[
|
|
207
|
-
Hash[::String, Hash[::String, {
|
|
208
|
-
namespace: ::String,
|
|
209
|
-
name: ::String,
|
|
210
|
-
hpa_name: ::String?
|
|
211
|
-
}]],
|
|
212
|
-
]?,
|
|
213
|
-
eks_clusters: Array[
|
|
214
|
-
{
|
|
215
|
-
cross_account_role: ::String?,
|
|
216
|
-
external_id: ::String?,
|
|
217
|
-
cluster_arn: ::String
|
|
218
|
-
},
|
|
219
|
-
]?,
|
|
220
|
-
ungraceful: {
|
|
221
|
-
minimum_success_percentage: ::Integer
|
|
222
|
-
}?,
|
|
223
|
-
target_percent: ::Integer?,
|
|
224
|
-
capacity_monitoring_approach: ("sampledMaxInLast24Hours")?
|
|
225
|
-
}?,
|
|
226
|
-
route53_health_check_config: {
|
|
227
|
-
timeout_minutes: ::Integer?,
|
|
228
|
-
cross_account_role: ::String?,
|
|
229
|
-
external_id: ::String?,
|
|
230
|
-
hosted_zone_id: ::String,
|
|
231
|
-
record_name: ::String,
|
|
232
|
-
record_sets: Array[
|
|
233
|
-
{
|
|
234
|
-
record_set_identifier: ::String?,
|
|
235
|
-
region: ::String?
|
|
236
|
-
},
|
|
237
|
-
]?
|
|
238
|
-
}?,
|
|
239
|
-
document_db_config: {
|
|
240
|
-
timeout_minutes: ::Integer?,
|
|
241
|
-
cross_account_role: ::String?,
|
|
242
|
-
external_id: ::String?,
|
|
243
|
-
behavior: ("switchoverOnly" | "failover"),
|
|
244
|
-
ungraceful: {
|
|
245
|
-
ungraceful: ("failover")?
|
|
246
|
-
}?,
|
|
247
|
-
global_cluster_identifier: ::String,
|
|
248
|
-
database_cluster_arns: Array[::String]
|
|
249
|
-
}?,
|
|
250
|
-
rds_promote_read_replica_config: {
|
|
251
|
-
timeout_minutes: ::Integer?,
|
|
252
|
-
cross_account_role: ::String?,
|
|
253
|
-
external_id: ::String?,
|
|
254
|
-
db_instance_arn_map: Hash[::String, ::String]
|
|
255
|
-
}?,
|
|
256
|
-
rds_create_cross_region_read_replica_config: {
|
|
257
|
-
timeout_minutes: ::Integer?,
|
|
258
|
-
cross_account_role: ::String?,
|
|
259
|
-
external_id: ::String?,
|
|
260
|
-
db_instance_arn_map: Hash[::String, ::String]
|
|
261
|
-
}?,
|
|
262
|
-
lambda_event_source_mapping_config: {
|
|
263
|
-
timeout_minutes: ::Integer?,
|
|
264
|
-
action: ("enable" | "disable"),
|
|
265
|
-
region_event_source_mappings: Hash[::String, {
|
|
266
|
-
cross_account_role: ::String?,
|
|
267
|
-
external_id: ::String?,
|
|
268
|
-
arn: ::String
|
|
269
|
-
}],
|
|
270
|
-
ungraceful: {
|
|
271
|
-
behavior: ("skip")?
|
|
272
|
-
}?
|
|
273
|
-
}?
|
|
274
|
-
},
|
|
275
|
-
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping")
|
|
276
|
-
},
|
|
277
|
-
]?,
|
|
278
|
-
workflow_target_action: ("activate" | "deactivate" | "postRecovery"),
|
|
279
|
-
workflow_target_region: ::String?,
|
|
280
|
-
workflow_description: ::String?
|
|
281
|
-
},
|
|
114
|
+
Params::workflow
|
|
282
115
|
],
|
|
283
116
|
execution_role: ::String,
|
|
284
117
|
?recovery_time_objective_minutes: ::Integer,
|
|
@@ -289,29 +122,9 @@ module Aws
|
|
|
289
122
|
alarm_type: ("applicationHealth" | "trigger")
|
|
290
123
|
}],
|
|
291
124
|
?triggers: Array[
|
|
292
|
-
|
|
293
|
-
description: ::String?,
|
|
294
|
-
target_region: ::String,
|
|
295
|
-
action: ("activate" | "deactivate" | "postRecovery"),
|
|
296
|
-
conditions: Array[
|
|
297
|
-
{
|
|
298
|
-
associated_alarm_name: ::String,
|
|
299
|
-
condition: ("red" | "green")
|
|
300
|
-
},
|
|
301
|
-
],
|
|
302
|
-
min_delay_minutes_between_executions: ::Integer
|
|
303
|
-
},
|
|
125
|
+
Params::trigger
|
|
304
126
|
],
|
|
305
|
-
?report_configuration:
|
|
306
|
-
report_output: Array[
|
|
307
|
-
{
|
|
308
|
-
s3_configuration: {
|
|
309
|
-
bucket_path: ::String?,
|
|
310
|
-
bucket_owner: ::String?
|
|
311
|
-
}?
|
|
312
|
-
},
|
|
313
|
-
]?
|
|
314
|
-
},
|
|
127
|
+
?report_configuration: Params::report_configuration,
|
|
315
128
|
name: ::String,
|
|
316
129
|
regions: Array[::String],
|
|
317
130
|
recovery_approach: ("activeActive" | "activePassive"),
|
|
@@ -538,174 +351,7 @@ module Aws
|
|
|
538
351
|
arn: ::String,
|
|
539
352
|
?description: ::String,
|
|
540
353
|
workflows: Array[
|
|
541
|
-
|
|
542
|
-
steps: Array[
|
|
543
|
-
{
|
|
544
|
-
name: ::String,
|
|
545
|
-
description: ::String?,
|
|
546
|
-
execution_block_configuration: {
|
|
547
|
-
custom_action_lambda_config: {
|
|
548
|
-
timeout_minutes: ::Integer?,
|
|
549
|
-
lambdas: Array[
|
|
550
|
-
{
|
|
551
|
-
cross_account_role: ::String?,
|
|
552
|
-
external_id: ::String?,
|
|
553
|
-
arn: ::String?
|
|
554
|
-
},
|
|
555
|
-
],
|
|
556
|
-
retry_interval_minutes: ::Float,
|
|
557
|
-
region_to_run: ("activatingRegion" | "deactivatingRegion" | "activeRegion" | "inactiveRegion"),
|
|
558
|
-
ungraceful: {
|
|
559
|
-
behavior: ("skip")?
|
|
560
|
-
}?
|
|
561
|
-
}?,
|
|
562
|
-
ec2_asg_capacity_increase_config: {
|
|
563
|
-
timeout_minutes: ::Integer?,
|
|
564
|
-
asgs: Array[
|
|
565
|
-
{
|
|
566
|
-
cross_account_role: ::String?,
|
|
567
|
-
external_id: ::String?,
|
|
568
|
-
arn: ::String?
|
|
569
|
-
},
|
|
570
|
-
],
|
|
571
|
-
ungraceful: {
|
|
572
|
-
minimum_success_percentage: ::Integer
|
|
573
|
-
}?,
|
|
574
|
-
target_percent: ::Integer?,
|
|
575
|
-
capacity_monitoring_approach: ("sampledMaxInLast24Hours" | "autoscalingMaxInLast24Hours")?
|
|
576
|
-
}?,
|
|
577
|
-
execution_approval_config: {
|
|
578
|
-
timeout_minutes: ::Integer?,
|
|
579
|
-
approval_role: ::String
|
|
580
|
-
}?,
|
|
581
|
-
arc_routing_control_config: {
|
|
582
|
-
timeout_minutes: ::Integer?,
|
|
583
|
-
cross_account_role: ::String?,
|
|
584
|
-
external_id: ::String?,
|
|
585
|
-
region_and_routing_controls: Hash[::String, Array[
|
|
586
|
-
{
|
|
587
|
-
routing_control_arn: ::String,
|
|
588
|
-
state: ("On" | "Off")
|
|
589
|
-
},
|
|
590
|
-
]]
|
|
591
|
-
}?,
|
|
592
|
-
global_aurora_config: {
|
|
593
|
-
timeout_minutes: ::Integer?,
|
|
594
|
-
cross_account_role: ::String?,
|
|
595
|
-
external_id: ::String?,
|
|
596
|
-
behavior: ("switchoverOnly" | "failover"),
|
|
597
|
-
ungraceful: {
|
|
598
|
-
ungraceful: ("failover")?
|
|
599
|
-
}?,
|
|
600
|
-
global_cluster_identifier: ::String,
|
|
601
|
-
database_cluster_arns: Array[::String]
|
|
602
|
-
}?,
|
|
603
|
-
parallel_config: {
|
|
604
|
-
steps: untyped
|
|
605
|
-
}?,
|
|
606
|
-
region_switch_plan_config: {
|
|
607
|
-
cross_account_role: ::String?,
|
|
608
|
-
external_id: ::String?,
|
|
609
|
-
arn: ::String
|
|
610
|
-
}?,
|
|
611
|
-
ecs_capacity_increase_config: {
|
|
612
|
-
timeout_minutes: ::Integer?,
|
|
613
|
-
services: Array[
|
|
614
|
-
{
|
|
615
|
-
cross_account_role: ::String?,
|
|
616
|
-
external_id: ::String?,
|
|
617
|
-
cluster_arn: ::String?,
|
|
618
|
-
service_arn: ::String?
|
|
619
|
-
},
|
|
620
|
-
],
|
|
621
|
-
ungraceful: {
|
|
622
|
-
minimum_success_percentage: ::Integer
|
|
623
|
-
}?,
|
|
624
|
-
target_percent: ::Integer?,
|
|
625
|
-
capacity_monitoring_approach: ("sampledMaxInLast24Hours" | "containerInsightsMaxInLast24Hours")?
|
|
626
|
-
}?,
|
|
627
|
-
eks_resource_scaling_config: {
|
|
628
|
-
timeout_minutes: ::Integer?,
|
|
629
|
-
kubernetes_resource_type: {
|
|
630
|
-
api_version: ::String,
|
|
631
|
-
kind: ::String
|
|
632
|
-
},
|
|
633
|
-
scaling_resources: Array[
|
|
634
|
-
Hash[::String, Hash[::String, {
|
|
635
|
-
namespace: ::String,
|
|
636
|
-
name: ::String,
|
|
637
|
-
hpa_name: ::String?
|
|
638
|
-
}]],
|
|
639
|
-
]?,
|
|
640
|
-
eks_clusters: Array[
|
|
641
|
-
{
|
|
642
|
-
cross_account_role: ::String?,
|
|
643
|
-
external_id: ::String?,
|
|
644
|
-
cluster_arn: ::String
|
|
645
|
-
},
|
|
646
|
-
]?,
|
|
647
|
-
ungraceful: {
|
|
648
|
-
minimum_success_percentage: ::Integer
|
|
649
|
-
}?,
|
|
650
|
-
target_percent: ::Integer?,
|
|
651
|
-
capacity_monitoring_approach: ("sampledMaxInLast24Hours")?
|
|
652
|
-
}?,
|
|
653
|
-
route53_health_check_config: {
|
|
654
|
-
timeout_minutes: ::Integer?,
|
|
655
|
-
cross_account_role: ::String?,
|
|
656
|
-
external_id: ::String?,
|
|
657
|
-
hosted_zone_id: ::String,
|
|
658
|
-
record_name: ::String,
|
|
659
|
-
record_sets: Array[
|
|
660
|
-
{
|
|
661
|
-
record_set_identifier: ::String?,
|
|
662
|
-
region: ::String?
|
|
663
|
-
},
|
|
664
|
-
]?
|
|
665
|
-
}?,
|
|
666
|
-
document_db_config: {
|
|
667
|
-
timeout_minutes: ::Integer?,
|
|
668
|
-
cross_account_role: ::String?,
|
|
669
|
-
external_id: ::String?,
|
|
670
|
-
behavior: ("switchoverOnly" | "failover"),
|
|
671
|
-
ungraceful: {
|
|
672
|
-
ungraceful: ("failover")?
|
|
673
|
-
}?,
|
|
674
|
-
global_cluster_identifier: ::String,
|
|
675
|
-
database_cluster_arns: Array[::String]
|
|
676
|
-
}?,
|
|
677
|
-
rds_promote_read_replica_config: {
|
|
678
|
-
timeout_minutes: ::Integer?,
|
|
679
|
-
cross_account_role: ::String?,
|
|
680
|
-
external_id: ::String?,
|
|
681
|
-
db_instance_arn_map: Hash[::String, ::String]
|
|
682
|
-
}?,
|
|
683
|
-
rds_create_cross_region_read_replica_config: {
|
|
684
|
-
timeout_minutes: ::Integer?,
|
|
685
|
-
cross_account_role: ::String?,
|
|
686
|
-
external_id: ::String?,
|
|
687
|
-
db_instance_arn_map: Hash[::String, ::String]
|
|
688
|
-
}?,
|
|
689
|
-
lambda_event_source_mapping_config: {
|
|
690
|
-
timeout_minutes: ::Integer?,
|
|
691
|
-
action: ("enable" | "disable"),
|
|
692
|
-
region_event_source_mappings: Hash[::String, {
|
|
693
|
-
cross_account_role: ::String?,
|
|
694
|
-
external_id: ::String?,
|
|
695
|
-
arn: ::String
|
|
696
|
-
}],
|
|
697
|
-
ungraceful: {
|
|
698
|
-
behavior: ("skip")?
|
|
699
|
-
}?
|
|
700
|
-
}?
|
|
701
|
-
},
|
|
702
|
-
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping")
|
|
703
|
-
},
|
|
704
|
-
]?,
|
|
705
|
-
workflow_target_action: ("activate" | "deactivate" | "postRecovery"),
|
|
706
|
-
workflow_target_region: ::String?,
|
|
707
|
-
workflow_description: ::String?
|
|
708
|
-
},
|
|
354
|
+
Params::workflow
|
|
709
355
|
],
|
|
710
356
|
execution_role: ::String,
|
|
711
357
|
?recovery_time_objective_minutes: ::Integer,
|
|
@@ -716,29 +362,9 @@ module Aws
|
|
|
716
362
|
alarm_type: ("applicationHealth" | "trigger")
|
|
717
363
|
}],
|
|
718
364
|
?triggers: Array[
|
|
719
|
-
|
|
720
|
-
description: ::String?,
|
|
721
|
-
target_region: ::String,
|
|
722
|
-
action: ("activate" | "deactivate" | "postRecovery"),
|
|
723
|
-
conditions: Array[
|
|
724
|
-
{
|
|
725
|
-
associated_alarm_name: ::String,
|
|
726
|
-
condition: ("red" | "green")
|
|
727
|
-
},
|
|
728
|
-
],
|
|
729
|
-
min_delay_minutes_between_executions: ::Integer
|
|
730
|
-
},
|
|
365
|
+
Params::trigger
|
|
731
366
|
],
|
|
732
|
-
?report_configuration:
|
|
733
|
-
report_output: Array[
|
|
734
|
-
{
|
|
735
|
-
s3_configuration: {
|
|
736
|
-
bucket_path: ::String?,
|
|
737
|
-
bucket_owner: ::String?
|
|
738
|
-
}?
|
|
739
|
-
},
|
|
740
|
-
]?
|
|
741
|
-
}
|
|
367
|
+
?report_configuration: Params::report_configuration
|
|
742
368
|
) -> _UpdatePlanResponseSuccess
|
|
743
369
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePlanResponseSuccess
|
|
744
370
|
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module ARCRegionswitch
|
|
10
|
+
module Params
|
|
11
|
+
type workflow = {
|
|
12
|
+
steps: Array[
|
|
13
|
+
Params::step
|
|
14
|
+
]?,
|
|
15
|
+
workflow_target_action: ("activate" | "deactivate" | "postRecovery"),
|
|
16
|
+
workflow_target_region: ::String?,
|
|
17
|
+
workflow_description: ::String?
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
type custom_action_lambda_configuration = {
|
|
21
|
+
timeout_minutes: ::Integer?,
|
|
22
|
+
lambdas: Array[
|
|
23
|
+
{
|
|
24
|
+
cross_account_role: ::String?,
|
|
25
|
+
external_id: ::String?,
|
|
26
|
+
arn: ::String?
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
retry_interval_minutes: ::Float,
|
|
30
|
+
region_to_run: ("activatingRegion" | "deactivatingRegion" | "activeRegion" | "inactiveRegion"),
|
|
31
|
+
ungraceful: {
|
|
32
|
+
behavior: ("skip")?
|
|
33
|
+
}?
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type ec2_asg_capacity_increase_configuration = {
|
|
37
|
+
timeout_minutes: ::Integer?,
|
|
38
|
+
asgs: Array[
|
|
39
|
+
{
|
|
40
|
+
cross_account_role: ::String?,
|
|
41
|
+
external_id: ::String?,
|
|
42
|
+
arn: ::String?
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
ungraceful: {
|
|
46
|
+
minimum_success_percentage: ::Integer
|
|
47
|
+
}?,
|
|
48
|
+
target_percent: ::Integer?,
|
|
49
|
+
capacity_monitoring_approach: ("sampledMaxInLast24Hours" | "autoscalingMaxInLast24Hours")?
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
type global_aurora_configuration = {
|
|
53
|
+
timeout_minutes: ::Integer?,
|
|
54
|
+
cross_account_role: ::String?,
|
|
55
|
+
external_id: ::String?,
|
|
56
|
+
behavior: ("switchoverOnly" | "failover"),
|
|
57
|
+
ungraceful: {
|
|
58
|
+
ungraceful: ("failover")?
|
|
59
|
+
}?,
|
|
60
|
+
global_cluster_identifier: ::String,
|
|
61
|
+
database_cluster_arns: Array[::String]
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
type ecs_capacity_increase_configuration = {
|
|
65
|
+
timeout_minutes: ::Integer?,
|
|
66
|
+
services: Array[
|
|
67
|
+
{
|
|
68
|
+
cross_account_role: ::String?,
|
|
69
|
+
external_id: ::String?,
|
|
70
|
+
cluster_arn: ::String?,
|
|
71
|
+
service_arn: ::String?
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
ungraceful: {
|
|
75
|
+
minimum_success_percentage: ::Integer
|
|
76
|
+
}?,
|
|
77
|
+
target_percent: ::Integer?,
|
|
78
|
+
capacity_monitoring_approach: ("sampledMaxInLast24Hours" | "containerInsightsMaxInLast24Hours")?
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
type eks_resource_scaling_configuration = {
|
|
82
|
+
timeout_minutes: ::Integer?,
|
|
83
|
+
kubernetes_resource_type: {
|
|
84
|
+
api_version: ::String,
|
|
85
|
+
kind: ::String
|
|
86
|
+
},
|
|
87
|
+
scaling_resources: Array[
|
|
88
|
+
Hash[::String, Hash[::String, {
|
|
89
|
+
namespace: ::String,
|
|
90
|
+
name: ::String,
|
|
91
|
+
hpa_name: ::String?
|
|
92
|
+
}]]
|
|
93
|
+
]?,
|
|
94
|
+
eks_clusters: Array[
|
|
95
|
+
{
|
|
96
|
+
cross_account_role: ::String?,
|
|
97
|
+
external_id: ::String?,
|
|
98
|
+
cluster_arn: ::String
|
|
99
|
+
}
|
|
100
|
+
]?,
|
|
101
|
+
ungraceful: {
|
|
102
|
+
minimum_success_percentage: ::Integer
|
|
103
|
+
}?,
|
|
104
|
+
target_percent: ::Integer?,
|
|
105
|
+
capacity_monitoring_approach: ("sampledMaxInLast24Hours")?
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
type route_53_health_check_configuration = {
|
|
109
|
+
timeout_minutes: ::Integer?,
|
|
110
|
+
cross_account_role: ::String?,
|
|
111
|
+
external_id: ::String?,
|
|
112
|
+
hosted_zone_id: ::String,
|
|
113
|
+
record_name: ::String,
|
|
114
|
+
record_sets: Array[
|
|
115
|
+
{
|
|
116
|
+
record_set_identifier: ::String?,
|
|
117
|
+
region: ::String?
|
|
118
|
+
}
|
|
119
|
+
]?
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
type document_db_configuration = {
|
|
123
|
+
timeout_minutes: ::Integer?,
|
|
124
|
+
cross_account_role: ::String?,
|
|
125
|
+
external_id: ::String?,
|
|
126
|
+
behavior: ("switchoverOnly" | "failover"),
|
|
127
|
+
ungraceful: {
|
|
128
|
+
ungraceful: ("failover")?
|
|
129
|
+
}?,
|
|
130
|
+
global_cluster_identifier: ::String,
|
|
131
|
+
database_cluster_arns: Array[::String]
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
type lambda_event_source_mapping_configuration = {
|
|
135
|
+
timeout_minutes: ::Integer?,
|
|
136
|
+
action: ("enable" | "disable"),
|
|
137
|
+
region_event_source_mappings: Hash[::String, {
|
|
138
|
+
cross_account_role: ::String?,
|
|
139
|
+
external_id: ::String?,
|
|
140
|
+
arn: ::String
|
|
141
|
+
}],
|
|
142
|
+
ungraceful: {
|
|
143
|
+
behavior: ("skip")?
|
|
144
|
+
}?
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
type execution_block_configuration = {
|
|
148
|
+
custom_action_lambda_config: Params::custom_action_lambda_configuration?,
|
|
149
|
+
ec2_asg_capacity_increase_config: Params::ec2_asg_capacity_increase_configuration?,
|
|
150
|
+
execution_approval_config: {
|
|
151
|
+
timeout_minutes: ::Integer?,
|
|
152
|
+
approval_role: ::String
|
|
153
|
+
}?,
|
|
154
|
+
arc_routing_control_config: {
|
|
155
|
+
timeout_minutes: ::Integer?,
|
|
156
|
+
cross_account_role: ::String?,
|
|
157
|
+
external_id: ::String?,
|
|
158
|
+
region_and_routing_controls: Hash[::String, Array[
|
|
159
|
+
{
|
|
160
|
+
routing_control_arn: ::String,
|
|
161
|
+
state: ("On" | "Off")
|
|
162
|
+
}
|
|
163
|
+
]]
|
|
164
|
+
}?,
|
|
165
|
+
global_aurora_config: Params::global_aurora_configuration?,
|
|
166
|
+
parallel_config: {
|
|
167
|
+
steps: Array[
|
|
168
|
+
Params::step
|
|
169
|
+
]
|
|
170
|
+
}?,
|
|
171
|
+
region_switch_plan_config: {
|
|
172
|
+
cross_account_role: ::String?,
|
|
173
|
+
external_id: ::String?,
|
|
174
|
+
arn: ::String
|
|
175
|
+
}?,
|
|
176
|
+
ecs_capacity_increase_config: Params::ecs_capacity_increase_configuration?,
|
|
177
|
+
eks_resource_scaling_config: Params::eks_resource_scaling_configuration?,
|
|
178
|
+
route53_health_check_config: Params::route_53_health_check_configuration?,
|
|
179
|
+
document_db_config: Params::document_db_configuration?,
|
|
180
|
+
rds_promote_read_replica_config: {
|
|
181
|
+
timeout_minutes: ::Integer?,
|
|
182
|
+
cross_account_role: ::String?,
|
|
183
|
+
external_id: ::String?,
|
|
184
|
+
db_instance_arn_map: Hash[::String, ::String]
|
|
185
|
+
}?,
|
|
186
|
+
rds_create_cross_region_read_replica_config: {
|
|
187
|
+
timeout_minutes: ::Integer?,
|
|
188
|
+
cross_account_role: ::String?,
|
|
189
|
+
external_id: ::String?,
|
|
190
|
+
db_instance_arn_map: Hash[::String, ::String]
|
|
191
|
+
}?,
|
|
192
|
+
lambda_event_source_mapping_config: Params::lambda_event_source_mapping_configuration?
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
type step = {
|
|
196
|
+
name: ::String,
|
|
197
|
+
description: ::String?,
|
|
198
|
+
execution_block_configuration: Params::execution_block_configuration,
|
|
199
|
+
execution_block_type: ("CustomActionLambda" | "ManualApproval" | "AuroraGlobalDatabase" | "EC2AutoScaling" | "ARCRoutingControl" | "ARCRegionSwitchPlan" | "Parallel" | "ECSServiceScaling" | "EKSResourceScaling" | "Route53HealthCheck" | "DocumentDb" | "RdsPromoteReadReplica" | "RdsCreateCrossRegionReplica" | "LambdaEventSourceMapping")
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
type trigger = {
|
|
203
|
+
description: ::String?,
|
|
204
|
+
target_region: ::String,
|
|
205
|
+
action: ("activate" | "deactivate" | "postRecovery"),
|
|
206
|
+
conditions: Array[
|
|
207
|
+
{
|
|
208
|
+
associated_alarm_name: ::String,
|
|
209
|
+
condition: ("red" | "green")
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
min_delay_minutes_between_executions: ::Integer
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
type report_configuration = {
|
|
216
|
+
report_output: Array[
|
|
217
|
+
{
|
|
218
|
+
s3_configuration: {
|
|
219
|
+
bucket_path: ::String?,
|
|
220
|
+
bucket_owner: ::String?
|
|
221
|
+
}?
|
|
222
|
+
}
|
|
223
|
+
]?
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
end
|
|
227
|
+
end
|
|
228
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-arcregionswitch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -68,6 +68,7 @@ files:
|
|
|
68
68
|
- lib/aws-sdk-arcregionswitch/waiters.rb
|
|
69
69
|
- sig/client.rbs
|
|
70
70
|
- sig/errors.rbs
|
|
71
|
+
- sig/params.rbs
|
|
71
72
|
- sig/resource.rbs
|
|
72
73
|
- sig/types.rbs
|
|
73
74
|
- sig/waiters.rbs
|