aws-sdk-applicationautoscaling 1.52.0 → 1.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationautoscaling/client.rb +313 -144
- data/lib/aws-sdk-applicationautoscaling/types.rb +446 -219
- data/lib/aws-sdk-applicationautoscaling.rb +1 -1
- metadata +5 -5
@@ -47,9 +47,9 @@ module Aws::ApplicationAutoScaling
|
|
47
47
|
# Represents a CloudWatch metric of your choosing for a target tracking
|
48
48
|
# scaling policy to use with Application Auto Scaling.
|
49
49
|
#
|
50
|
-
# For information about the available metrics for a service, see [
|
51
|
-
# Services That Publish CloudWatch Metrics][1] in the
|
52
|
-
# User Guide*.
|
50
|
+
# For information about the available metrics for a service, see [Amazon
|
51
|
+
# Web Services Services That Publish CloudWatch Metrics][1] in the
|
52
|
+
# *Amazon CloudWatch User Guide*.
|
53
53
|
#
|
54
54
|
# To create your customized metric specification:
|
55
55
|
#
|
@@ -130,9 +130,9 @@ module Aws::ApplicationAutoScaling
|
|
130
130
|
#
|
131
131
|
# {
|
132
132
|
# policy_name: "ResourceIdMaxLen1600", # required
|
133
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
133
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
134
134
|
# resource_id: "ResourceIdMaxLen1600", # required
|
135
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
135
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
136
136
|
# }
|
137
137
|
#
|
138
138
|
# @!attribute [rw] policy_name
|
@@ -140,9 +140,9 @@ module Aws::ApplicationAutoScaling
|
|
140
140
|
# @return [String]
|
141
141
|
#
|
142
142
|
# @!attribute [rw] service_namespace
|
143
|
-
# The namespace of the
|
144
|
-
# resource provided by your own application or
|
145
|
-
# `custom-resource` instead.
|
143
|
+
# The namespace of the Amazon Web Services service that provides the
|
144
|
+
# resource. For a resource provided by your own application or
|
145
|
+
# service, use `custom-resource` instead.
|
146
146
|
# @return [String]
|
147
147
|
#
|
148
148
|
# @!attribute [rw] resource_id
|
@@ -153,8 +153,8 @@ module Aws::ApplicationAutoScaling
|
|
153
153
|
# identifier is the cluster name and service name. Example:
|
154
154
|
# `service/default/sample-webapp`.
|
155
155
|
#
|
156
|
-
# * Spot Fleet
|
157
|
-
#
|
156
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
157
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
158
158
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
159
159
|
#
|
160
160
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -174,8 +174,8 @@ module Aws::ApplicationAutoScaling
|
|
174
174
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
175
175
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
176
176
|
#
|
177
|
-
# *
|
178
|
-
#
|
177
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
178
|
+
# the unique identifier is the resource ID. Example:
|
179
179
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
180
180
|
#
|
181
181
|
# * Custom resources are not supported with a resource type. This
|
@@ -207,6 +207,13 @@ module Aws::ApplicationAutoScaling
|
|
207
207
|
# specified using the cluster ARN. Example:
|
208
208
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
209
209
|
#
|
210
|
+
# * Amazon ElastiCache replication group - The resource type is
|
211
|
+
# `replication-group` and the unique identifier is the replication
|
212
|
+
# group name. Example: `replication-group/mycluster`.
|
213
|
+
#
|
214
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
215
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
216
|
+
#
|
210
217
|
#
|
211
218
|
#
|
212
219
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -219,12 +226,12 @@ module Aws::ApplicationAutoScaling
|
|
219
226
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
220
227
|
# service.
|
221
228
|
#
|
222
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
223
|
-
# Spot Fleet request.
|
224
|
-
#
|
225
229
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
226
230
|
# count of an EMR Instance Group.
|
227
231
|
#
|
232
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
233
|
+
# Spot Fleet.
|
234
|
+
#
|
228
235
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
229
236
|
# AppStream 2.0 fleet.
|
230
237
|
#
|
@@ -245,7 +252,7 @@ module Aws::ApplicationAutoScaling
|
|
245
252
|
# edition and Aurora PostgreSQL-compatible edition.
|
246
253
|
#
|
247
254
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
248
|
-
# instances for an
|
255
|
+
# instances for an SageMaker model endpoint variant.
|
249
256
|
#
|
250
257
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
251
258
|
# for a custom resource provided by your own application or service.
|
@@ -269,6 +276,15 @@ module Aws::ApplicationAutoScaling
|
|
269
276
|
#
|
270
277
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
271
278
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
279
|
+
#
|
280
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
281
|
+
# groups for an Amazon ElastiCache replication group.
|
282
|
+
#
|
283
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
284
|
+
# per node group for an Amazon ElastiCache replication group.
|
285
|
+
#
|
286
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
287
|
+
# an Amazon Neptune DB cluster.
|
272
288
|
# @return [String]
|
273
289
|
#
|
274
290
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyRequest AWS API Documentation
|
@@ -290,16 +306,16 @@ module Aws::ApplicationAutoScaling
|
|
290
306
|
# data as a hash:
|
291
307
|
#
|
292
308
|
# {
|
293
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
309
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
294
310
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
295
311
|
# resource_id: "ResourceIdMaxLen1600", # required
|
296
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
312
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
297
313
|
# }
|
298
314
|
#
|
299
315
|
# @!attribute [rw] service_namespace
|
300
|
-
# The namespace of the
|
301
|
-
# resource provided by your own application or
|
302
|
-
# `custom-resource` instead.
|
316
|
+
# The namespace of the Amazon Web Services service that provides the
|
317
|
+
# resource. For a resource provided by your own application or
|
318
|
+
# service, use `custom-resource` instead.
|
303
319
|
# @return [String]
|
304
320
|
#
|
305
321
|
# @!attribute [rw] scheduled_action_name
|
@@ -314,8 +330,8 @@ module Aws::ApplicationAutoScaling
|
|
314
330
|
# identifier is the cluster name and service name. Example:
|
315
331
|
# `service/default/sample-webapp`.
|
316
332
|
#
|
317
|
-
# * Spot Fleet
|
318
|
-
#
|
333
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
334
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
319
335
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
320
336
|
#
|
321
337
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -335,8 +351,8 @@ module Aws::ApplicationAutoScaling
|
|
335
351
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
336
352
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
337
353
|
#
|
338
|
-
# *
|
339
|
-
#
|
354
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
355
|
+
# the unique identifier is the resource ID. Example:
|
340
356
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
341
357
|
#
|
342
358
|
# * Custom resources are not supported with a resource type. This
|
@@ -368,6 +384,13 @@ module Aws::ApplicationAutoScaling
|
|
368
384
|
# specified using the cluster ARN. Example:
|
369
385
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
370
386
|
#
|
387
|
+
# * Amazon ElastiCache replication group - The resource type is
|
388
|
+
# `replication-group` and the unique identifier is the replication
|
389
|
+
# group name. Example: `replication-group/mycluster`.
|
390
|
+
#
|
391
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
392
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
393
|
+
#
|
371
394
|
#
|
372
395
|
#
|
373
396
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -380,12 +403,12 @@ module Aws::ApplicationAutoScaling
|
|
380
403
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
381
404
|
# service.
|
382
405
|
#
|
383
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
384
|
-
# Spot Fleet request.
|
385
|
-
#
|
386
406
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
387
407
|
# count of an EMR Instance Group.
|
388
408
|
#
|
409
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
410
|
+
# Spot Fleet.
|
411
|
+
#
|
389
412
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
390
413
|
# AppStream 2.0 fleet.
|
391
414
|
#
|
@@ -406,7 +429,7 @@ module Aws::ApplicationAutoScaling
|
|
406
429
|
# edition and Aurora PostgreSQL-compatible edition.
|
407
430
|
#
|
408
431
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
409
|
-
# instances for an
|
432
|
+
# instances for an SageMaker model endpoint variant.
|
410
433
|
#
|
411
434
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
412
435
|
# for a custom resource provided by your own application or service.
|
@@ -430,6 +453,15 @@ module Aws::ApplicationAutoScaling
|
|
430
453
|
#
|
431
454
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
432
455
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
456
|
+
#
|
457
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
458
|
+
# groups for an Amazon ElastiCache replication group.
|
459
|
+
#
|
460
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
461
|
+
# per node group for an Amazon ElastiCache replication group.
|
462
|
+
#
|
463
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
464
|
+
# an Amazon Neptune DB cluster.
|
433
465
|
# @return [String]
|
434
466
|
#
|
435
467
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledActionRequest AWS API Documentation
|
@@ -451,15 +483,15 @@ module Aws::ApplicationAutoScaling
|
|
451
483
|
# data as a hash:
|
452
484
|
#
|
453
485
|
# {
|
454
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
486
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
455
487
|
# resource_id: "ResourceIdMaxLen1600", # required
|
456
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
488
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
457
489
|
# }
|
458
490
|
#
|
459
491
|
# @!attribute [rw] service_namespace
|
460
|
-
# The namespace of the
|
461
|
-
# resource provided by your own application or
|
462
|
-
# `custom-resource` instead.
|
492
|
+
# The namespace of the Amazon Web Services service that provides the
|
493
|
+
# resource. For a resource provided by your own application or
|
494
|
+
# service, use `custom-resource` instead.
|
463
495
|
# @return [String]
|
464
496
|
#
|
465
497
|
# @!attribute [rw] resource_id
|
@@ -470,8 +502,8 @@ module Aws::ApplicationAutoScaling
|
|
470
502
|
# identifier is the cluster name and service name. Example:
|
471
503
|
# `service/default/sample-webapp`.
|
472
504
|
#
|
473
|
-
# * Spot Fleet
|
474
|
-
#
|
505
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
506
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
475
507
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
476
508
|
#
|
477
509
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -491,8 +523,8 @@ module Aws::ApplicationAutoScaling
|
|
491
523
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
492
524
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
493
525
|
#
|
494
|
-
# *
|
495
|
-
#
|
526
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
527
|
+
# the unique identifier is the resource ID. Example:
|
496
528
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
497
529
|
#
|
498
530
|
# * Custom resources are not supported with a resource type. This
|
@@ -524,6 +556,13 @@ module Aws::ApplicationAutoScaling
|
|
524
556
|
# specified using the cluster ARN. Example:
|
525
557
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
526
558
|
#
|
559
|
+
# * Amazon ElastiCache replication group - The resource type is
|
560
|
+
# `replication-group` and the unique identifier is the replication
|
561
|
+
# group name. Example: `replication-group/mycluster`.
|
562
|
+
#
|
563
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
564
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
565
|
+
#
|
527
566
|
#
|
528
567
|
#
|
529
568
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -537,12 +576,12 @@ module Aws::ApplicationAutoScaling
|
|
537
576
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
538
577
|
# service.
|
539
578
|
#
|
540
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
541
|
-
# Spot Fleet request.
|
542
|
-
#
|
543
579
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
544
580
|
# count of an EMR Instance Group.
|
545
581
|
#
|
582
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
583
|
+
# Spot Fleet.
|
584
|
+
#
|
546
585
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
547
586
|
# AppStream 2.0 fleet.
|
548
587
|
#
|
@@ -563,7 +602,7 @@ module Aws::ApplicationAutoScaling
|
|
563
602
|
# edition and Aurora PostgreSQL-compatible edition.
|
564
603
|
#
|
565
604
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
566
|
-
# instances for an
|
605
|
+
# instances for an SageMaker model endpoint variant.
|
567
606
|
#
|
568
607
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
569
608
|
# for a custom resource provided by your own application or service.
|
@@ -587,6 +626,15 @@ module Aws::ApplicationAutoScaling
|
|
587
626
|
#
|
588
627
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
589
628
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
629
|
+
#
|
630
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
631
|
+
# groups for an Amazon ElastiCache replication group.
|
632
|
+
#
|
633
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
634
|
+
# per node group for an Amazon ElastiCache replication group.
|
635
|
+
#
|
636
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
637
|
+
# an Amazon Neptune DB cluster.
|
590
638
|
# @return [String]
|
591
639
|
#
|
592
640
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTargetRequest AWS API Documentation
|
@@ -607,17 +655,17 @@ module Aws::ApplicationAutoScaling
|
|
607
655
|
# data as a hash:
|
608
656
|
#
|
609
657
|
# {
|
610
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
658
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
611
659
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
612
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
660
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
613
661
|
# max_results: 1,
|
614
662
|
# next_token: "XmlString",
|
615
663
|
# }
|
616
664
|
#
|
617
665
|
# @!attribute [rw] service_namespace
|
618
|
-
# The namespace of the
|
619
|
-
# resource provided by your own application or
|
620
|
-
# `custom-resource` instead.
|
666
|
+
# The namespace of the Amazon Web Services service that provides the
|
667
|
+
# resource. For a resource provided by your own application or
|
668
|
+
# service, use `custom-resource` instead.
|
621
669
|
# @return [String]
|
622
670
|
#
|
623
671
|
# @!attribute [rw] resource_ids
|
@@ -628,8 +676,8 @@ module Aws::ApplicationAutoScaling
|
|
628
676
|
# identifier is the cluster name and service name. Example:
|
629
677
|
# `service/default/sample-webapp`.
|
630
678
|
#
|
631
|
-
# * Spot Fleet
|
632
|
-
#
|
679
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
680
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
633
681
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
634
682
|
#
|
635
683
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -649,8 +697,8 @@ module Aws::ApplicationAutoScaling
|
|
649
697
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
650
698
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
651
699
|
#
|
652
|
-
# *
|
653
|
-
#
|
700
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
701
|
+
# the unique identifier is the resource ID. Example:
|
654
702
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
655
703
|
#
|
656
704
|
# * Custom resources are not supported with a resource type. This
|
@@ -682,6 +730,13 @@ module Aws::ApplicationAutoScaling
|
|
682
730
|
# specified using the cluster ARN. Example:
|
683
731
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
684
732
|
#
|
733
|
+
# * Amazon ElastiCache replication group - The resource type is
|
734
|
+
# `replication-group` and the unique identifier is the replication
|
735
|
+
# group name. Example: `replication-group/mycluster`.
|
736
|
+
#
|
737
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
738
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
739
|
+
#
|
685
740
|
#
|
686
741
|
#
|
687
742
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -696,12 +751,12 @@ module Aws::ApplicationAutoScaling
|
|
696
751
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
697
752
|
# service.
|
698
753
|
#
|
699
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
700
|
-
# Spot Fleet request.
|
701
|
-
#
|
702
754
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
703
755
|
# count of an EMR Instance Group.
|
704
756
|
#
|
757
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
758
|
+
# Spot Fleet.
|
759
|
+
#
|
705
760
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
706
761
|
# AppStream 2.0 fleet.
|
707
762
|
#
|
@@ -722,7 +777,7 @@ module Aws::ApplicationAutoScaling
|
|
722
777
|
# edition and Aurora PostgreSQL-compatible edition.
|
723
778
|
#
|
724
779
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
725
|
-
# instances for an
|
780
|
+
# instances for an SageMaker model endpoint variant.
|
726
781
|
#
|
727
782
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
728
783
|
# for a custom resource provided by your own application or service.
|
@@ -746,6 +801,15 @@ module Aws::ApplicationAutoScaling
|
|
746
801
|
#
|
747
802
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
748
803
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
804
|
+
#
|
805
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
806
|
+
# groups for an Amazon ElastiCache replication group.
|
807
|
+
#
|
808
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
809
|
+
# per node group for an Amazon ElastiCache replication group.
|
810
|
+
#
|
811
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
812
|
+
# an Amazon Neptune DB cluster.
|
749
813
|
# @return [String]
|
750
814
|
#
|
751
815
|
# @!attribute [rw] max_results
|
@@ -797,17 +861,17 @@ module Aws::ApplicationAutoScaling
|
|
797
861
|
# data as a hash:
|
798
862
|
#
|
799
863
|
# {
|
800
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
864
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
801
865
|
# resource_id: "ResourceIdMaxLen1600",
|
802
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
866
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
803
867
|
# max_results: 1,
|
804
868
|
# next_token: "XmlString",
|
805
869
|
# }
|
806
870
|
#
|
807
871
|
# @!attribute [rw] service_namespace
|
808
|
-
# The namespace of the
|
809
|
-
# resource provided by your own application or
|
810
|
-
# `custom-resource` instead.
|
872
|
+
# The namespace of the Amazon Web Services service that provides the
|
873
|
+
# resource. For a resource provided by your own application or
|
874
|
+
# service, use `custom-resource` instead.
|
811
875
|
# @return [String]
|
812
876
|
#
|
813
877
|
# @!attribute [rw] resource_id
|
@@ -818,8 +882,8 @@ module Aws::ApplicationAutoScaling
|
|
818
882
|
# identifier is the cluster name and service name. Example:
|
819
883
|
# `service/default/sample-webapp`.
|
820
884
|
#
|
821
|
-
# * Spot Fleet
|
822
|
-
#
|
885
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
886
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
823
887
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
824
888
|
#
|
825
889
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -839,8 +903,8 @@ module Aws::ApplicationAutoScaling
|
|
839
903
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
840
904
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
841
905
|
#
|
842
|
-
# *
|
843
|
-
#
|
906
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
907
|
+
# the unique identifier is the resource ID. Example:
|
844
908
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
845
909
|
#
|
846
910
|
# * Custom resources are not supported with a resource type. This
|
@@ -872,6 +936,13 @@ module Aws::ApplicationAutoScaling
|
|
872
936
|
# specified using the cluster ARN. Example:
|
873
937
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
874
938
|
#
|
939
|
+
# * Amazon ElastiCache replication group - The resource type is
|
940
|
+
# `replication-group` and the unique identifier is the replication
|
941
|
+
# group name. Example: `replication-group/mycluster`.
|
942
|
+
#
|
943
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
944
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
945
|
+
#
|
875
946
|
#
|
876
947
|
#
|
877
948
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -885,12 +956,12 @@ module Aws::ApplicationAutoScaling
|
|
885
956
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
886
957
|
# service.
|
887
958
|
#
|
888
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
889
|
-
# Spot Fleet request.
|
890
|
-
#
|
891
959
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
892
960
|
# count of an EMR Instance Group.
|
893
961
|
#
|
962
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
963
|
+
# Spot Fleet.
|
964
|
+
#
|
894
965
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
895
966
|
# AppStream 2.0 fleet.
|
896
967
|
#
|
@@ -911,7 +982,7 @@ module Aws::ApplicationAutoScaling
|
|
911
982
|
# edition and Aurora PostgreSQL-compatible edition.
|
912
983
|
#
|
913
984
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
914
|
-
# instances for an
|
985
|
+
# instances for an SageMaker model endpoint variant.
|
915
986
|
#
|
916
987
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
917
988
|
# for a custom resource provided by your own application or service.
|
@@ -935,6 +1006,15 @@ module Aws::ApplicationAutoScaling
|
|
935
1006
|
#
|
936
1007
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
937
1008
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
1009
|
+
#
|
1010
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1011
|
+
# groups for an Amazon ElastiCache replication group.
|
1012
|
+
#
|
1013
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1014
|
+
# per node group for an Amazon ElastiCache replication group.
|
1015
|
+
#
|
1016
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1017
|
+
# an Amazon Neptune DB cluster.
|
938
1018
|
# @return [String]
|
939
1019
|
#
|
940
1020
|
# @!attribute [rw] max_results
|
@@ -987,9 +1067,9 @@ module Aws::ApplicationAutoScaling
|
|
987
1067
|
#
|
988
1068
|
# {
|
989
1069
|
# policy_names: ["ResourceIdMaxLen1600"],
|
990
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1070
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
991
1071
|
# resource_id: "ResourceIdMaxLen1600",
|
992
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1072
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
993
1073
|
# max_results: 1,
|
994
1074
|
# next_token: "XmlString",
|
995
1075
|
# }
|
@@ -999,9 +1079,9 @@ module Aws::ApplicationAutoScaling
|
|
999
1079
|
# @return [Array<String>]
|
1000
1080
|
#
|
1001
1081
|
# @!attribute [rw] service_namespace
|
1002
|
-
# The namespace of the
|
1003
|
-
# resource provided by your own application or
|
1004
|
-
# `custom-resource` instead.
|
1082
|
+
# The namespace of the Amazon Web Services service that provides the
|
1083
|
+
# resource. For a resource provided by your own application or
|
1084
|
+
# service, use `custom-resource` instead.
|
1005
1085
|
# @return [String]
|
1006
1086
|
#
|
1007
1087
|
# @!attribute [rw] resource_id
|
@@ -1012,8 +1092,8 @@ module Aws::ApplicationAutoScaling
|
|
1012
1092
|
# identifier is the cluster name and service name. Example:
|
1013
1093
|
# `service/default/sample-webapp`.
|
1014
1094
|
#
|
1015
|
-
# * Spot Fleet
|
1016
|
-
#
|
1095
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1096
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1017
1097
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1018
1098
|
#
|
1019
1099
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1033,8 +1113,8 @@ module Aws::ApplicationAutoScaling
|
|
1033
1113
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1034
1114
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1035
1115
|
#
|
1036
|
-
# *
|
1037
|
-
#
|
1116
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
1117
|
+
# the unique identifier is the resource ID. Example:
|
1038
1118
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1039
1119
|
#
|
1040
1120
|
# * Custom resources are not supported with a resource type. This
|
@@ -1066,6 +1146,13 @@ module Aws::ApplicationAutoScaling
|
|
1066
1146
|
# specified using the cluster ARN. Example:
|
1067
1147
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1068
1148
|
#
|
1149
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1150
|
+
# `replication-group` and the unique identifier is the replication
|
1151
|
+
# group name. Example: `replication-group/mycluster`.
|
1152
|
+
#
|
1153
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1154
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1155
|
+
#
|
1069
1156
|
#
|
1070
1157
|
#
|
1071
1158
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1079,12 +1166,12 @@ module Aws::ApplicationAutoScaling
|
|
1079
1166
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1080
1167
|
# service.
|
1081
1168
|
#
|
1082
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1083
|
-
# Spot Fleet request.
|
1084
|
-
#
|
1085
1169
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
1086
1170
|
# count of an EMR Instance Group.
|
1087
1171
|
#
|
1172
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1173
|
+
# Spot Fleet.
|
1174
|
+
#
|
1088
1175
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1089
1176
|
# AppStream 2.0 fleet.
|
1090
1177
|
#
|
@@ -1105,7 +1192,7 @@ module Aws::ApplicationAutoScaling
|
|
1105
1192
|
# edition and Aurora PostgreSQL-compatible edition.
|
1106
1193
|
#
|
1107
1194
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1108
|
-
# instances for an
|
1195
|
+
# instances for an SageMaker model endpoint variant.
|
1109
1196
|
#
|
1110
1197
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
1111
1198
|
# for a custom resource provided by your own application or service.
|
@@ -1129,16 +1216,25 @@ module Aws::ApplicationAutoScaling
|
|
1129
1216
|
#
|
1130
1217
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
1131
1218
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
1219
|
+
#
|
1220
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1221
|
+
# groups for an Amazon ElastiCache replication group.
|
1222
|
+
#
|
1223
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1224
|
+
# per node group for an Amazon ElastiCache replication group.
|
1225
|
+
#
|
1226
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1227
|
+
# an Amazon Neptune DB cluster.
|
1132
1228
|
# @return [String]
|
1133
1229
|
#
|
1134
1230
|
# @!attribute [rw] max_results
|
1135
1231
|
# The maximum number of scalable targets. This value can be between 1
|
1136
|
-
# and
|
1232
|
+
# and 10. The default value is 10.
|
1137
1233
|
#
|
1138
1234
|
# If this parameter is used, the operation returns up to `MaxResults`
|
1139
1235
|
# results at a time, along with a `NextToken` value. To get the next
|
1140
1236
|
# set of results, include the `NextToken` value in a subsequent call.
|
1141
|
-
# If this parameter is not used, the operation returns up to
|
1237
|
+
# If this parameter is not used, the operation returns up to 10
|
1142
1238
|
# results and a `NextToken` value, if applicable.
|
1143
1239
|
# @return [Integer]
|
1144
1240
|
#
|
@@ -1182,9 +1278,9 @@ module Aws::ApplicationAutoScaling
|
|
1182
1278
|
#
|
1183
1279
|
# {
|
1184
1280
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
1185
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1281
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1186
1282
|
# resource_id: "ResourceIdMaxLen1600",
|
1187
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1283
|
+
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
1188
1284
|
# max_results: 1,
|
1189
1285
|
# next_token: "XmlString",
|
1190
1286
|
# }
|
@@ -1194,9 +1290,9 @@ module Aws::ApplicationAutoScaling
|
|
1194
1290
|
# @return [Array<String>]
|
1195
1291
|
#
|
1196
1292
|
# @!attribute [rw] service_namespace
|
1197
|
-
# The namespace of the
|
1198
|
-
# resource provided by your own application or
|
1199
|
-
# `custom-resource` instead.
|
1293
|
+
# The namespace of the Amazon Web Services service that provides the
|
1294
|
+
# resource. For a resource provided by your own application or
|
1295
|
+
# service, use `custom-resource` instead.
|
1200
1296
|
# @return [String]
|
1201
1297
|
#
|
1202
1298
|
# @!attribute [rw] resource_id
|
@@ -1207,8 +1303,8 @@ module Aws::ApplicationAutoScaling
|
|
1207
1303
|
# identifier is the cluster name and service name. Example:
|
1208
1304
|
# `service/default/sample-webapp`.
|
1209
1305
|
#
|
1210
|
-
# * Spot Fleet
|
1211
|
-
#
|
1306
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1307
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1212
1308
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1213
1309
|
#
|
1214
1310
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1228,8 +1324,8 @@ module Aws::ApplicationAutoScaling
|
|
1228
1324
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1229
1325
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1230
1326
|
#
|
1231
|
-
# *
|
1232
|
-
#
|
1327
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
1328
|
+
# the unique identifier is the resource ID. Example:
|
1233
1329
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1234
1330
|
#
|
1235
1331
|
# * Custom resources are not supported with a resource type. This
|
@@ -1261,6 +1357,13 @@ module Aws::ApplicationAutoScaling
|
|
1261
1357
|
# specified using the cluster ARN. Example:
|
1262
1358
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1263
1359
|
#
|
1360
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1361
|
+
# `replication-group` and the unique identifier is the replication
|
1362
|
+
# group name. Example: `replication-group/mycluster`.
|
1363
|
+
#
|
1364
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1365
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1366
|
+
#
|
1264
1367
|
#
|
1265
1368
|
#
|
1266
1369
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1274,12 +1377,12 @@ module Aws::ApplicationAutoScaling
|
|
1274
1377
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1275
1378
|
# service.
|
1276
1379
|
#
|
1277
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1278
|
-
# Spot Fleet request.
|
1279
|
-
#
|
1280
1380
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
1281
1381
|
# count of an EMR Instance Group.
|
1282
1382
|
#
|
1383
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1384
|
+
# Spot Fleet.
|
1385
|
+
#
|
1283
1386
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1284
1387
|
# AppStream 2.0 fleet.
|
1285
1388
|
#
|
@@ -1300,7 +1403,7 @@ module Aws::ApplicationAutoScaling
|
|
1300
1403
|
# edition and Aurora PostgreSQL-compatible edition.
|
1301
1404
|
#
|
1302
1405
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1303
|
-
# instances for an
|
1406
|
+
# instances for an SageMaker model endpoint variant.
|
1304
1407
|
#
|
1305
1408
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
1306
1409
|
# for a custom resource provided by your own application or service.
|
@@ -1324,6 +1427,15 @@ module Aws::ApplicationAutoScaling
|
|
1324
1427
|
#
|
1325
1428
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
1326
1429
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
1430
|
+
#
|
1431
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1432
|
+
# groups for an Amazon ElastiCache replication group.
|
1433
|
+
#
|
1434
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1435
|
+
# per node group for an Amazon ElastiCache replication group.
|
1436
|
+
#
|
1437
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1438
|
+
# an Amazon Neptune DB cluster.
|
1327
1439
|
# @return [String]
|
1328
1440
|
#
|
1329
1441
|
# @!attribute [rw] max_results
|
@@ -1485,7 +1597,7 @@ module Aws::ApplicationAutoScaling
|
|
1485
1597
|
# Represents a predefined metric for a target tracking scaling policy to
|
1486
1598
|
# use with Application Auto Scaling.
|
1487
1599
|
#
|
1488
|
-
# Only the
|
1600
|
+
# Only the Amazon Web Services that you're using send metrics to Amazon
|
1489
1601
|
# CloudWatch. To determine whether a desired metric already exists by
|
1490
1602
|
# looking up its namespace and dimension using the CloudWatch metrics
|
1491
1603
|
# dashboard in the console, follow the procedure in [Building dashboards
|
@@ -1499,7 +1611,7 @@ module Aws::ApplicationAutoScaling
|
|
1499
1611
|
# data as a hash:
|
1500
1612
|
#
|
1501
1613
|
# {
|
1502
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization
|
1614
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization
|
1503
1615
|
# resource_label: "ResourceLabel",
|
1504
1616
|
# }
|
1505
1617
|
#
|
@@ -1516,9 +1628,12 @@ module Aws::ApplicationAutoScaling
|
|
1516
1628
|
#
|
1517
1629
|
# You create the resource label by appending the final portion of the
|
1518
1630
|
# load balancer ARN and the final portion of the target group ARN into
|
1519
|
-
# a single value, separated by a forward slash (/). The format
|
1520
|
-
#
|
1521
|
-
#
|
1631
|
+
# a single value, separated by a forward slash (/). The format of the
|
1632
|
+
# resource label is:
|
1633
|
+
#
|
1634
|
+
# `app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff`.
|
1635
|
+
#
|
1636
|
+
# Where:
|
1522
1637
|
#
|
1523
1638
|
# * app/<load-balancer-name>/<load-balancer-id> is the
|
1524
1639
|
# final portion of the load balancer ARN
|
@@ -1526,9 +1641,6 @@ module Aws::ApplicationAutoScaling
|
|
1526
1641
|
# * targetgroup/<target-group-name>/<target-group-id> is
|
1527
1642
|
# the final portion of the target group ARN.
|
1528
1643
|
#
|
1529
|
-
# This is an example:
|
1530
|
-
# app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.
|
1531
|
-
#
|
1532
1644
|
# To find the ARN for an Application Load Balancer, use the
|
1533
1645
|
# [DescribeLoadBalancers][1] API operation. To find the ARN for the
|
1534
1646
|
# target group, use the [DescribeTargetGroups][2] API operation.
|
@@ -1553,9 +1665,9 @@ module Aws::ApplicationAutoScaling
|
|
1553
1665
|
#
|
1554
1666
|
# {
|
1555
1667
|
# policy_name: "PolicyName", # required
|
1556
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1668
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1557
1669
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1558
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1670
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
1559
1671
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
1560
1672
|
# step_scaling_policy_configuration: {
|
1561
1673
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -1573,7 +1685,7 @@ module Aws::ApplicationAutoScaling
|
|
1573
1685
|
# target_tracking_scaling_policy_configuration: {
|
1574
1686
|
# target_value: 1.0, # required
|
1575
1687
|
# predefined_metric_specification: {
|
1576
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization
|
1688
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization
|
1577
1689
|
# resource_label: "ResourceLabel",
|
1578
1690
|
# },
|
1579
1691
|
# customized_metric_specification: {
|
@@ -1599,9 +1711,9 @@ module Aws::ApplicationAutoScaling
|
|
1599
1711
|
# @return [String]
|
1600
1712
|
#
|
1601
1713
|
# @!attribute [rw] service_namespace
|
1602
|
-
# The namespace of the
|
1603
|
-
# resource provided by your own application or
|
1604
|
-
# `custom-resource` instead.
|
1714
|
+
# The namespace of the Amazon Web Services service that provides the
|
1715
|
+
# resource. For a resource provided by your own application or
|
1716
|
+
# service, use `custom-resource` instead.
|
1605
1717
|
# @return [String]
|
1606
1718
|
#
|
1607
1719
|
# @!attribute [rw] resource_id
|
@@ -1612,8 +1724,8 @@ module Aws::ApplicationAutoScaling
|
|
1612
1724
|
# identifier is the cluster name and service name. Example:
|
1613
1725
|
# `service/default/sample-webapp`.
|
1614
1726
|
#
|
1615
|
-
# * Spot Fleet
|
1616
|
-
#
|
1727
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
1728
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1617
1729
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1618
1730
|
#
|
1619
1731
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1633,8 +1745,8 @@ module Aws::ApplicationAutoScaling
|
|
1633
1745
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1634
1746
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1635
1747
|
#
|
1636
|
-
# *
|
1637
|
-
#
|
1748
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
1749
|
+
# the unique identifier is the resource ID. Example:
|
1638
1750
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1639
1751
|
#
|
1640
1752
|
# * Custom resources are not supported with a resource type. This
|
@@ -1666,6 +1778,13 @@ module Aws::ApplicationAutoScaling
|
|
1666
1778
|
# specified using the cluster ARN. Example:
|
1667
1779
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1668
1780
|
#
|
1781
|
+
# * Amazon ElastiCache replication group - The resource type is
|
1782
|
+
# `replication-group` and the unique identifier is the replication
|
1783
|
+
# group name. Example: `replication-group/mycluster`.
|
1784
|
+
#
|
1785
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
1786
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
1787
|
+
#
|
1669
1788
|
#
|
1670
1789
|
#
|
1671
1790
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1678,12 +1797,12 @@ module Aws::ApplicationAutoScaling
|
|
1678
1797
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1679
1798
|
# service.
|
1680
1799
|
#
|
1681
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1682
|
-
# Spot Fleet request.
|
1683
|
-
#
|
1684
1800
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
1685
1801
|
# count of an EMR Instance Group.
|
1686
1802
|
#
|
1803
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1804
|
+
# Spot Fleet.
|
1805
|
+
#
|
1687
1806
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1688
1807
|
# AppStream 2.0 fleet.
|
1689
1808
|
#
|
@@ -1704,7 +1823,7 @@ module Aws::ApplicationAutoScaling
|
|
1704
1823
|
# edition and Aurora PostgreSQL-compatible edition.
|
1705
1824
|
#
|
1706
1825
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1707
|
-
# instances for an
|
1826
|
+
# instances for an SageMaker model endpoint variant.
|
1708
1827
|
#
|
1709
1828
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
1710
1829
|
# for a custom resource provided by your own application or service.
|
@@ -1728,6 +1847,15 @@ module Aws::ApplicationAutoScaling
|
|
1728
1847
|
#
|
1729
1848
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
1730
1849
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
1850
|
+
#
|
1851
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
1852
|
+
# groups for an Amazon ElastiCache replication group.
|
1853
|
+
#
|
1854
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
1855
|
+
# per node group for an Amazon ElastiCache replication group.
|
1856
|
+
#
|
1857
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
1858
|
+
# an Amazon Neptune DB cluster.
|
1731
1859
|
# @return [String]
|
1732
1860
|
#
|
1733
1861
|
# @!attribute [rw] policy_type
|
@@ -1739,7 +1867,7 @@ module Aws::ApplicationAutoScaling
|
|
1739
1867
|
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
1740
1868
|
#
|
1741
1869
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
1742
|
-
# Amazon Keyspaces
|
1870
|
+
# Amazon Keyspaces, Amazon MSK, Amazon ElastiCache, or Neptune.
|
1743
1871
|
#
|
1744
1872
|
# For more information, see [Target tracking scaling policies][1] and
|
1745
1873
|
# [Step scaling policies][2] in the *Application Auto Scaling User
|
@@ -1802,12 +1930,12 @@ module Aws::ApplicationAutoScaling
|
|
1802
1930
|
# data as a hash:
|
1803
1931
|
#
|
1804
1932
|
# {
|
1805
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1933
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
1806
1934
|
# schedule: "ResourceIdMaxLen1600",
|
1807
1935
|
# timezone: "ResourceIdMaxLen1600",
|
1808
1936
|
# scheduled_action_name: "ScheduledActionName", # required
|
1809
1937
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1810
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
1938
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
1811
1939
|
# start_time: Time.now,
|
1812
1940
|
# end_time: Time.now,
|
1813
1941
|
# scalable_target_action: {
|
@@ -1817,9 +1945,9 @@ module Aws::ApplicationAutoScaling
|
|
1817
1945
|
# }
|
1818
1946
|
#
|
1819
1947
|
# @!attribute [rw] service_namespace
|
1820
|
-
# The namespace of the
|
1821
|
-
# resource provided by your own application or
|
1822
|
-
# `custom-resource` instead.
|
1948
|
+
# The namespace of the Amazon Web Services service that provides the
|
1949
|
+
# resource. For a resource provided by your own application or
|
1950
|
+
# service, use `custom-resource` instead.
|
1823
1951
|
# @return [String]
|
1824
1952
|
#
|
1825
1953
|
# @!attribute [rw] schedule
|
@@ -1883,8 +2011,8 @@ module Aws::ApplicationAutoScaling
|
|
1883
2011
|
# identifier is the cluster name and service name. Example:
|
1884
2012
|
# `service/default/sample-webapp`.
|
1885
2013
|
#
|
1886
|
-
# * Spot Fleet
|
1887
|
-
#
|
2014
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2015
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
1888
2016
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
1889
2017
|
#
|
1890
2018
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -1904,8 +2032,8 @@ module Aws::ApplicationAutoScaling
|
|
1904
2032
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
1905
2033
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
1906
2034
|
#
|
1907
|
-
# *
|
1908
|
-
#
|
2035
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
2036
|
+
# the unique identifier is the resource ID. Example:
|
1909
2037
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
1910
2038
|
#
|
1911
2039
|
# * Custom resources are not supported with a resource type. This
|
@@ -1937,6 +2065,13 @@ module Aws::ApplicationAutoScaling
|
|
1937
2065
|
# specified using the cluster ARN. Example:
|
1938
2066
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1939
2067
|
#
|
2068
|
+
# * Amazon ElastiCache replication group - The resource type is
|
2069
|
+
# `replication-group` and the unique identifier is the replication
|
2070
|
+
# group name. Example: `replication-group/mycluster`.
|
2071
|
+
#
|
2072
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2073
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2074
|
+
#
|
1940
2075
|
#
|
1941
2076
|
#
|
1942
2077
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1949,12 +2084,12 @@ module Aws::ApplicationAutoScaling
|
|
1949
2084
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
1950
2085
|
# service.
|
1951
2086
|
#
|
1952
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
1953
|
-
# Spot Fleet request.
|
1954
|
-
#
|
1955
2087
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
1956
2088
|
# count of an EMR Instance Group.
|
1957
2089
|
#
|
2090
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2091
|
+
# Spot Fleet.
|
2092
|
+
#
|
1958
2093
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
1959
2094
|
# AppStream 2.0 fleet.
|
1960
2095
|
#
|
@@ -1975,7 +2110,7 @@ module Aws::ApplicationAutoScaling
|
|
1975
2110
|
# edition and Aurora PostgreSQL-compatible edition.
|
1976
2111
|
#
|
1977
2112
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
1978
|
-
# instances for an
|
2113
|
+
# instances for an SageMaker model endpoint variant.
|
1979
2114
|
#
|
1980
2115
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
1981
2116
|
# for a custom resource provided by your own application or service.
|
@@ -1999,6 +2134,15 @@ module Aws::ApplicationAutoScaling
|
|
1999
2134
|
#
|
2000
2135
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
2001
2136
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
2137
|
+
#
|
2138
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
2139
|
+
# groups for an Amazon ElastiCache replication group.
|
2140
|
+
#
|
2141
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2142
|
+
# per node group for an Amazon ElastiCache replication group.
|
2143
|
+
#
|
2144
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2145
|
+
# an Amazon Neptune DB cluster.
|
2002
2146
|
# @return [String]
|
2003
2147
|
#
|
2004
2148
|
# @!attribute [rw] start_time
|
@@ -2042,9 +2186,9 @@ module Aws::ApplicationAutoScaling
|
|
2042
2186
|
# data as a hash:
|
2043
2187
|
#
|
2044
2188
|
# {
|
2045
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
2189
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka, elasticache, neptune
|
2046
2190
|
# resource_id: "ResourceIdMaxLen1600", # required
|
2047
|
-
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize
|
2191
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property, comprehend:document-classifier-endpoint:DesiredInferenceUnits, comprehend:entity-recognizer-endpoint:DesiredInferenceUnits, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits, kafka:broker-storage:VolumeSize, elasticache:replication-group:NodeGroups, elasticache:replication-group:Replicas, neptune:cluster:ReadReplicaCount
|
2048
2192
|
# min_capacity: 1,
|
2049
2193
|
# max_capacity: 1,
|
2050
2194
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -2056,9 +2200,9 @@ module Aws::ApplicationAutoScaling
|
|
2056
2200
|
# }
|
2057
2201
|
#
|
2058
2202
|
# @!attribute [rw] service_namespace
|
2059
|
-
# The namespace of the
|
2060
|
-
# resource provided by your own application or
|
2061
|
-
# `custom-resource` instead.
|
2203
|
+
# The namespace of the Amazon Web Services service that provides the
|
2204
|
+
# resource. For a resource provided by your own application or
|
2205
|
+
# service, use `custom-resource` instead.
|
2062
2206
|
# @return [String]
|
2063
2207
|
#
|
2064
2208
|
# @!attribute [rw] resource_id
|
@@ -2070,8 +2214,8 @@ module Aws::ApplicationAutoScaling
|
|
2070
2214
|
# identifier is the cluster name and service name. Example:
|
2071
2215
|
# `service/default/sample-webapp`.
|
2072
2216
|
#
|
2073
|
-
# * Spot Fleet
|
2074
|
-
#
|
2217
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2218
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2075
2219
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2076
2220
|
#
|
2077
2221
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2091,8 +2235,8 @@ module Aws::ApplicationAutoScaling
|
|
2091
2235
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2092
2236
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2093
2237
|
#
|
2094
|
-
# *
|
2095
|
-
#
|
2238
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
2239
|
+
# the unique identifier is the resource ID. Example:
|
2096
2240
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2097
2241
|
#
|
2098
2242
|
# * Custom resources are not supported with a resource type. This
|
@@ -2124,6 +2268,13 @@ module Aws::ApplicationAutoScaling
|
|
2124
2268
|
# specified using the cluster ARN. Example:
|
2125
2269
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2126
2270
|
#
|
2271
|
+
# * Amazon ElastiCache replication group - The resource type is
|
2272
|
+
# `replication-group` and the unique identifier is the replication
|
2273
|
+
# group name. Example: `replication-group/mycluster`.
|
2274
|
+
#
|
2275
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2276
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2277
|
+
#
|
2127
2278
|
#
|
2128
2279
|
#
|
2129
2280
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2137,12 +2288,12 @@ module Aws::ApplicationAutoScaling
|
|
2137
2288
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
2138
2289
|
# service.
|
2139
2290
|
#
|
2140
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2141
|
-
# Spot Fleet request.
|
2142
|
-
#
|
2143
2291
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
2144
2292
|
# count of an EMR Instance Group.
|
2145
2293
|
#
|
2294
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2295
|
+
# Spot Fleet.
|
2296
|
+
#
|
2146
2297
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2147
2298
|
# AppStream 2.0 fleet.
|
2148
2299
|
#
|
@@ -2163,7 +2314,7 @@ module Aws::ApplicationAutoScaling
|
|
2163
2314
|
# edition and Aurora PostgreSQL-compatible edition.
|
2164
2315
|
#
|
2165
2316
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2166
|
-
# instances for an
|
2317
|
+
# instances for an SageMaker model endpoint variant.
|
2167
2318
|
#
|
2168
2319
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
2169
2320
|
# for a custom resource provided by your own application or service.
|
@@ -2187,6 +2338,15 @@ module Aws::ApplicationAutoScaling
|
|
2187
2338
|
#
|
2188
2339
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
2189
2340
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
2341
|
+
#
|
2342
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
2343
|
+
# groups for an Amazon ElastiCache replication group.
|
2344
|
+
#
|
2345
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2346
|
+
# per node group for an Amazon ElastiCache replication group.
|
2347
|
+
#
|
2348
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2349
|
+
# an Amazon Neptune DB cluster.
|
2190
2350
|
# @return [String]
|
2191
2351
|
#
|
2192
2352
|
# @!attribute [rw] min_capacity
|
@@ -2289,8 +2449,8 @@ module Aws::ApplicationAutoScaling
|
|
2289
2449
|
# Represents a scalable target.
|
2290
2450
|
#
|
2291
2451
|
# @!attribute [rw] service_namespace
|
2292
|
-
# The namespace of the
|
2293
|
-
# `custom-resource`.
|
2452
|
+
# The namespace of the Amazon Web Services service that provides the
|
2453
|
+
# resource, or a `custom-resource`.
|
2294
2454
|
# @return [String]
|
2295
2455
|
#
|
2296
2456
|
# @!attribute [rw] resource_id
|
@@ -2301,8 +2461,8 @@ module Aws::ApplicationAutoScaling
|
|
2301
2461
|
# identifier is the cluster name and service name. Example:
|
2302
2462
|
# `service/default/sample-webapp`.
|
2303
2463
|
#
|
2304
|
-
# * Spot Fleet
|
2305
|
-
#
|
2464
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2465
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2306
2466
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2307
2467
|
#
|
2308
2468
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2322,8 +2482,8 @@ module Aws::ApplicationAutoScaling
|
|
2322
2482
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2323
2483
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2324
2484
|
#
|
2325
|
-
# *
|
2326
|
-
#
|
2485
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
2486
|
+
# the unique identifier is the resource ID. Example:
|
2327
2487
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2328
2488
|
#
|
2329
2489
|
# * Custom resources are not supported with a resource type. This
|
@@ -2355,6 +2515,13 @@ module Aws::ApplicationAutoScaling
|
|
2355
2515
|
# specified using the cluster ARN. Example:
|
2356
2516
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2357
2517
|
#
|
2518
|
+
# * Amazon ElastiCache replication group - The resource type is
|
2519
|
+
# `replication-group` and the unique identifier is the replication
|
2520
|
+
# group name. Example: `replication-group/mycluster`.
|
2521
|
+
#
|
2522
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2523
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2524
|
+
#
|
2358
2525
|
#
|
2359
2526
|
#
|
2360
2527
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2368,12 +2535,12 @@ module Aws::ApplicationAutoScaling
|
|
2368
2535
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
2369
2536
|
# service.
|
2370
2537
|
#
|
2371
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2372
|
-
# Spot Fleet request.
|
2373
|
-
#
|
2374
2538
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
2375
2539
|
# count of an EMR Instance Group.
|
2376
2540
|
#
|
2541
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2542
|
+
# Spot Fleet.
|
2543
|
+
#
|
2377
2544
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2378
2545
|
# AppStream 2.0 fleet.
|
2379
2546
|
#
|
@@ -2394,7 +2561,7 @@ module Aws::ApplicationAutoScaling
|
|
2394
2561
|
# edition and Aurora PostgreSQL-compatible edition.
|
2395
2562
|
#
|
2396
2563
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2397
|
-
# instances for an
|
2564
|
+
# instances for an SageMaker model endpoint variant.
|
2398
2565
|
#
|
2399
2566
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
2400
2567
|
# for a custom resource provided by your own application or service.
|
@@ -2418,6 +2585,15 @@ module Aws::ApplicationAutoScaling
|
|
2418
2585
|
#
|
2419
2586
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
2420
2587
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
2588
|
+
#
|
2589
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
2590
|
+
# groups for an Amazon ElastiCache replication group.
|
2591
|
+
#
|
2592
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2593
|
+
# per node group for an Amazon ElastiCache replication group.
|
2594
|
+
#
|
2595
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2596
|
+
# an Amazon Neptune DB cluster.
|
2421
2597
|
# @return [String]
|
2422
2598
|
#
|
2423
2599
|
# @!attribute [rw] min_capacity
|
@@ -2509,8 +2685,8 @@ module Aws::ApplicationAutoScaling
|
|
2509
2685
|
# @return [String]
|
2510
2686
|
#
|
2511
2687
|
# @!attribute [rw] service_namespace
|
2512
|
-
# The namespace of the
|
2513
|
-
# `custom-resource`.
|
2688
|
+
# The namespace of the Amazon Web Services service that provides the
|
2689
|
+
# resource, or a `custom-resource`.
|
2514
2690
|
# @return [String]
|
2515
2691
|
#
|
2516
2692
|
# @!attribute [rw] resource_id
|
@@ -2521,8 +2697,8 @@ module Aws::ApplicationAutoScaling
|
|
2521
2697
|
# identifier is the cluster name and service name. Example:
|
2522
2698
|
# `service/default/sample-webapp`.
|
2523
2699
|
#
|
2524
|
-
# * Spot Fleet
|
2525
|
-
#
|
2700
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2701
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2526
2702
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2527
2703
|
#
|
2528
2704
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2542,8 +2718,8 @@ module Aws::ApplicationAutoScaling
|
|
2542
2718
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2543
2719
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2544
2720
|
#
|
2545
|
-
# *
|
2546
|
-
#
|
2721
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
2722
|
+
# the unique identifier is the resource ID. Example:
|
2547
2723
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2548
2724
|
#
|
2549
2725
|
# * Custom resources are not supported with a resource type. This
|
@@ -2575,6 +2751,13 @@ module Aws::ApplicationAutoScaling
|
|
2575
2751
|
# specified using the cluster ARN. Example:
|
2576
2752
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2577
2753
|
#
|
2754
|
+
# * Amazon ElastiCache replication group - The resource type is
|
2755
|
+
# `replication-group` and the unique identifier is the replication
|
2756
|
+
# group name. Example: `replication-group/mycluster`.
|
2757
|
+
#
|
2758
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2759
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2760
|
+
#
|
2578
2761
|
#
|
2579
2762
|
#
|
2580
2763
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2587,12 +2770,12 @@ module Aws::ApplicationAutoScaling
|
|
2587
2770
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
2588
2771
|
# service.
|
2589
2772
|
#
|
2590
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2591
|
-
# Spot Fleet request.
|
2592
|
-
#
|
2593
2773
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
2594
2774
|
# count of an EMR Instance Group.
|
2595
2775
|
#
|
2776
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2777
|
+
# Spot Fleet.
|
2778
|
+
#
|
2596
2779
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2597
2780
|
# AppStream 2.0 fleet.
|
2598
2781
|
#
|
@@ -2613,7 +2796,7 @@ module Aws::ApplicationAutoScaling
|
|
2613
2796
|
# edition and Aurora PostgreSQL-compatible edition.
|
2614
2797
|
#
|
2615
2798
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2616
|
-
# instances for an
|
2799
|
+
# instances for an SageMaker model endpoint variant.
|
2617
2800
|
#
|
2618
2801
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
2619
2802
|
# for a custom resource provided by your own application or service.
|
@@ -2637,6 +2820,15 @@ module Aws::ApplicationAutoScaling
|
|
2637
2820
|
#
|
2638
2821
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
2639
2822
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
2823
|
+
#
|
2824
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
2825
|
+
# groups for an Amazon ElastiCache replication group.
|
2826
|
+
#
|
2827
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
2828
|
+
# per node group for an Amazon ElastiCache replication group.
|
2829
|
+
#
|
2830
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
2831
|
+
# an Amazon Neptune DB cluster.
|
2640
2832
|
# @return [String]
|
2641
2833
|
#
|
2642
2834
|
# @!attribute [rw] description
|
@@ -2705,8 +2897,8 @@ module Aws::ApplicationAutoScaling
|
|
2705
2897
|
# @return [String]
|
2706
2898
|
#
|
2707
2899
|
# @!attribute [rw] service_namespace
|
2708
|
-
# The namespace of the
|
2709
|
-
# `custom-resource`.
|
2900
|
+
# The namespace of the Amazon Web Services service that provides the
|
2901
|
+
# resource, or a `custom-resource`.
|
2710
2902
|
# @return [String]
|
2711
2903
|
#
|
2712
2904
|
# @!attribute [rw] resource_id
|
@@ -2717,8 +2909,8 @@ module Aws::ApplicationAutoScaling
|
|
2717
2909
|
# identifier is the cluster name and service name. Example:
|
2718
2910
|
# `service/default/sample-webapp`.
|
2719
2911
|
#
|
2720
|
-
# * Spot Fleet
|
2721
|
-
#
|
2912
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
2913
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2722
2914
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2723
2915
|
#
|
2724
2916
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2738,8 +2930,8 @@ module Aws::ApplicationAutoScaling
|
|
2738
2930
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2739
2931
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2740
2932
|
#
|
2741
|
-
# *
|
2742
|
-
#
|
2933
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
2934
|
+
# the unique identifier is the resource ID. Example:
|
2743
2935
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2744
2936
|
#
|
2745
2937
|
# * Custom resources are not supported with a resource type. This
|
@@ -2771,6 +2963,13 @@ module Aws::ApplicationAutoScaling
|
|
2771
2963
|
# specified using the cluster ARN. Example:
|
2772
2964
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2773
2965
|
#
|
2966
|
+
# * Amazon ElastiCache replication group - The resource type is
|
2967
|
+
# `replication-group` and the unique identifier is the replication
|
2968
|
+
# group name. Example: `replication-group/mycluster`.
|
2969
|
+
#
|
2970
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
2971
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
2972
|
+
#
|
2774
2973
|
#
|
2775
2974
|
#
|
2776
2975
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2783,12 +2982,12 @@ module Aws::ApplicationAutoScaling
|
|
2783
2982
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
2784
2983
|
# service.
|
2785
2984
|
#
|
2786
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2787
|
-
# Spot Fleet request.
|
2788
|
-
#
|
2789
2985
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
2790
2986
|
# count of an EMR Instance Group.
|
2791
2987
|
#
|
2988
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
2989
|
+
# Spot Fleet.
|
2990
|
+
#
|
2792
2991
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
2793
2992
|
# AppStream 2.0 fleet.
|
2794
2993
|
#
|
@@ -2809,7 +3008,7 @@ module Aws::ApplicationAutoScaling
|
|
2809
3008
|
# edition and Aurora PostgreSQL-compatible edition.
|
2810
3009
|
#
|
2811
3010
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
2812
|
-
# instances for an
|
3011
|
+
# instances for an SageMaker model endpoint variant.
|
2813
3012
|
#
|
2814
3013
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
2815
3014
|
# for a custom resource provided by your own application or service.
|
@@ -2833,6 +3032,15 @@ module Aws::ApplicationAutoScaling
|
|
2833
3032
|
#
|
2834
3033
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
2835
3034
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
3035
|
+
#
|
3036
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
3037
|
+
# groups for an Amazon ElastiCache replication group.
|
3038
|
+
#
|
3039
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
3040
|
+
# per node group for an Amazon ElastiCache replication group.
|
3041
|
+
#
|
3042
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
3043
|
+
# an Amazon Neptune DB cluster.
|
2836
3044
|
# @return [String]
|
2837
3045
|
#
|
2838
3046
|
# @!attribute [rw] policy_type
|
@@ -2883,8 +3091,8 @@ module Aws::ApplicationAutoScaling
|
|
2883
3091
|
# @return [String]
|
2884
3092
|
#
|
2885
3093
|
# @!attribute [rw] service_namespace
|
2886
|
-
# The namespace of the
|
2887
|
-
# `custom-resource`.
|
3094
|
+
# The namespace of the Amazon Web Services service that provides the
|
3095
|
+
# resource, or a `custom-resource`.
|
2888
3096
|
# @return [String]
|
2889
3097
|
#
|
2890
3098
|
# @!attribute [rw] schedule
|
@@ -2934,8 +3142,8 @@ module Aws::ApplicationAutoScaling
|
|
2934
3142
|
# identifier is the cluster name and service name. Example:
|
2935
3143
|
# `service/default/sample-webapp`.
|
2936
3144
|
#
|
2937
|
-
# * Spot Fleet
|
2938
|
-
#
|
3145
|
+
# * Spot Fleet - The resource type is `spot-fleet-request` and the
|
3146
|
+
# unique identifier is the Spot Fleet request ID. Example:
|
2939
3147
|
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
2940
3148
|
#
|
2941
3149
|
# * EMR cluster - The resource type is `instancegroup` and the unique
|
@@ -2955,8 +3163,8 @@ module Aws::ApplicationAutoScaling
|
|
2955
3163
|
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
2956
3164
|
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
2957
3165
|
#
|
2958
|
-
# *
|
2959
|
-
#
|
3166
|
+
# * SageMaker endpoint variant - The resource type is `variant` and
|
3167
|
+
# the unique identifier is the resource ID. Example:
|
2960
3168
|
# `endpoint/my-end-point/variant/KMeansClustering`.
|
2961
3169
|
#
|
2962
3170
|
# * Custom resources are not supported with a resource type. This
|
@@ -2988,6 +3196,13 @@ module Aws::ApplicationAutoScaling
|
|
2988
3196
|
# specified using the cluster ARN. Example:
|
2989
3197
|
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2990
3198
|
#
|
3199
|
+
# * Amazon ElastiCache replication group - The resource type is
|
3200
|
+
# `replication-group` and the unique identifier is the replication
|
3201
|
+
# group name. Example: `replication-group/mycluster`.
|
3202
|
+
#
|
3203
|
+
# * Neptune cluster - The resource type is `cluster` and the unique
|
3204
|
+
# identifier is the cluster name. Example: `cluster:mycluster`.
|
3205
|
+
#
|
2991
3206
|
#
|
2992
3207
|
#
|
2993
3208
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -3000,12 +3215,12 @@ module Aws::ApplicationAutoScaling
|
|
3000
3215
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
3001
3216
|
# service.
|
3002
3217
|
#
|
3003
|
-
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
3004
|
-
# Spot Fleet request.
|
3005
|
-
#
|
3006
3218
|
# * `elasticmapreduce:instancegroup:InstanceCount` - The instance
|
3007
3219
|
# count of an EMR Instance Group.
|
3008
3220
|
#
|
3221
|
+
# * `ec2:spot-fleet-request:TargetCapacity` - The target capacity of a
|
3222
|
+
# Spot Fleet.
|
3223
|
+
#
|
3009
3224
|
# * `appstream:fleet:DesiredCapacity` - The desired capacity of an
|
3010
3225
|
# AppStream 2.0 fleet.
|
3011
3226
|
#
|
@@ -3026,7 +3241,7 @@ module Aws::ApplicationAutoScaling
|
|
3026
3241
|
# edition and Aurora PostgreSQL-compatible edition.
|
3027
3242
|
#
|
3028
3243
|
# * `sagemaker:variant:DesiredInstanceCount` - The number of EC2
|
3029
|
-
# instances for an
|
3244
|
+
# instances for an SageMaker model endpoint variant.
|
3030
3245
|
#
|
3031
3246
|
# * `custom-resource:ResourceType:Property` - The scalable dimension
|
3032
3247
|
# for a custom resource provided by your own application or service.
|
@@ -3050,6 +3265,15 @@ module Aws::ApplicationAutoScaling
|
|
3050
3265
|
#
|
3051
3266
|
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
3052
3267
|
# (in GiB) for brokers in an Amazon MSK cluster.
|
3268
|
+
#
|
3269
|
+
# * `elasticache:replication-group:NodeGroups` - The number of node
|
3270
|
+
# groups for an Amazon ElastiCache replication group.
|
3271
|
+
#
|
3272
|
+
# * `elasticache:replication-group:Replicas` - The number of replicas
|
3273
|
+
# per node group for an Amazon ElastiCache replication group.
|
3274
|
+
#
|
3275
|
+
# * `neptune:cluster:ReadReplicaCount` - The count of read replicas in
|
3276
|
+
# an Amazon Neptune DB cluster.
|
3053
3277
|
# @return [String]
|
3054
3278
|
#
|
3055
3279
|
# @!attribute [rw] start_time
|
@@ -3251,36 +3475,37 @@ module Aws::ApplicationAutoScaling
|
|
3251
3475
|
# out the target immediately. In this case, the cooldown period for
|
3252
3476
|
# the scale-in activity stops and doesn't complete.
|
3253
3477
|
#
|
3254
|
-
# Application Auto Scaling provides a default value of
|
3478
|
+
# Application Auto Scaling provides a default value of 600 for Amazon
|
3479
|
+
# ElastiCache replication groups and a default value of 300 for the
|
3255
3480
|
# following scalable targets:
|
3256
3481
|
#
|
3257
|
-
# *
|
3482
|
+
# * AppStream 2.0 fleets
|
3258
3483
|
#
|
3259
|
-
# *
|
3484
|
+
# * Aurora DB clusters
|
3485
|
+
#
|
3486
|
+
# * ECS services
|
3260
3487
|
#
|
3261
3488
|
# * EMR clusters
|
3262
3489
|
#
|
3263
|
-
# *
|
3490
|
+
# * Neptune clusters
|
3264
3491
|
#
|
3265
|
-
# *
|
3492
|
+
# * SageMaker endpoint variants
|
3266
3493
|
#
|
3267
|
-
# *
|
3494
|
+
# * Spot Fleets
|
3268
3495
|
#
|
3269
3496
|
# * Custom resources
|
3270
3497
|
#
|
3271
3498
|
# For all other scalable targets, the default value is 0:
|
3272
3499
|
#
|
3273
|
-
# * DynamoDB tables
|
3274
|
-
#
|
3275
|
-
# * DynamoDB global secondary indexes
|
3276
|
-
#
|
3277
3500
|
# * Amazon Comprehend document classification and entity recognizer
|
3278
3501
|
# endpoints
|
3279
3502
|
#
|
3280
|
-
# *
|
3503
|
+
# * DynamoDB tables and global secondary indexes
|
3281
3504
|
#
|
3282
3505
|
# * Amazon Keyspaces tables
|
3283
3506
|
#
|
3507
|
+
# * Lambda provisioned concurrency
|
3508
|
+
#
|
3284
3509
|
# * Amazon MSK broker storage
|
3285
3510
|
# @return [Integer]
|
3286
3511
|
#
|
@@ -3353,7 +3578,7 @@ module Aws::ApplicationAutoScaling
|
|
3353
3578
|
# {
|
3354
3579
|
# target_value: 1.0, # required
|
3355
3580
|
# predefined_metric_specification: {
|
3356
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization
|
3581
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization, ElastiCachePrimaryEngineCPUUtilization, ElastiCacheReplicaEngineCPUUtilization, ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage, NeptuneReaderAverageCPUUtilization
|
3357
3582
|
# resource_label: "ResourceLabel",
|
3358
3583
|
# },
|
3359
3584
|
# customized_metric_specification: {
|
@@ -3407,36 +3632,37 @@ module Aws::ApplicationAutoScaling
|
|
3407
3632
|
# scale-out activity is calculated as part of the desired capacity for
|
3408
3633
|
# the next scale-out activity.
|
3409
3634
|
#
|
3410
|
-
# Application Auto Scaling provides a default value of
|
3635
|
+
# Application Auto Scaling provides a default value of 600 for Amazon
|
3636
|
+
# ElastiCache replication groups and a default value of 300 for the
|
3411
3637
|
# following scalable targets:
|
3412
3638
|
#
|
3413
|
-
# *
|
3639
|
+
# * AppStream 2.0 fleets
|
3414
3640
|
#
|
3415
|
-
# *
|
3641
|
+
# * Aurora DB clusters
|
3642
|
+
#
|
3643
|
+
# * ECS services
|
3416
3644
|
#
|
3417
3645
|
# * EMR clusters
|
3418
3646
|
#
|
3419
|
-
# *
|
3647
|
+
# * Neptune clusters
|
3420
3648
|
#
|
3421
|
-
# *
|
3649
|
+
# * SageMaker endpoint variants
|
3422
3650
|
#
|
3423
|
-
# *
|
3651
|
+
# * Spot Fleets
|
3424
3652
|
#
|
3425
3653
|
# * Custom resources
|
3426
3654
|
#
|
3427
3655
|
# For all other scalable targets, the default value is 0:
|
3428
3656
|
#
|
3429
|
-
# * DynamoDB tables
|
3430
|
-
#
|
3431
|
-
# * DynamoDB global secondary indexes
|
3432
|
-
#
|
3433
3657
|
# * Amazon Comprehend document classification and entity recognizer
|
3434
3658
|
# endpoints
|
3435
3659
|
#
|
3436
|
-
# *
|
3660
|
+
# * DynamoDB tables and global secondary indexes
|
3437
3661
|
#
|
3438
3662
|
# * Amazon Keyspaces tables
|
3439
3663
|
#
|
3664
|
+
# * Lambda provisioned concurrency
|
3665
|
+
#
|
3440
3666
|
# * Amazon MSK broker storage
|
3441
3667
|
# @return [Integer]
|
3442
3668
|
#
|
@@ -3452,36 +3678,37 @@ module Aws::ApplicationAutoScaling
|
|
3452
3678
|
# out the target immediately. In this case, the scale-in cooldown
|
3453
3679
|
# period stops and doesn't complete.
|
3454
3680
|
#
|
3455
|
-
# Application Auto Scaling provides a default value of
|
3681
|
+
# Application Auto Scaling provides a default value of 600 for Amazon
|
3682
|
+
# ElastiCache replication groups and a default value of 300 for the
|
3456
3683
|
# following scalable targets:
|
3457
3684
|
#
|
3458
|
-
# *
|
3685
|
+
# * AppStream 2.0 fleets
|
3459
3686
|
#
|
3460
|
-
# *
|
3687
|
+
# * Aurora DB clusters
|
3688
|
+
#
|
3689
|
+
# * ECS services
|
3461
3690
|
#
|
3462
3691
|
# * EMR clusters
|
3463
3692
|
#
|
3464
|
-
# *
|
3693
|
+
# * Neptune clusters
|
3465
3694
|
#
|
3466
|
-
# *
|
3695
|
+
# * SageMaker endpoint variants
|
3467
3696
|
#
|
3468
|
-
# *
|
3697
|
+
# * Spot Fleets
|
3469
3698
|
#
|
3470
3699
|
# * Custom resources
|
3471
3700
|
#
|
3472
3701
|
# For all other scalable targets, the default value is 0:
|
3473
3702
|
#
|
3474
|
-
# * DynamoDB tables
|
3475
|
-
#
|
3476
|
-
# * DynamoDB global secondary indexes
|
3477
|
-
#
|
3478
3703
|
# * Amazon Comprehend document classification and entity recognizer
|
3479
3704
|
# endpoints
|
3480
3705
|
#
|
3481
|
-
# *
|
3706
|
+
# * DynamoDB tables and global secondary indexes
|
3482
3707
|
#
|
3483
3708
|
# * Amazon Keyspaces tables
|
3484
3709
|
#
|
3710
|
+
# * Lambda provisioned concurrency
|
3711
|
+
#
|
3485
3712
|
# * Amazon MSK broker storage
|
3486
3713
|
# @return [Integer]
|
3487
3714
|
#
|