aws-sdk-applicationautoscaling 1.44.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
133
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
136
136
|
# }
|
137
137
|
#
|
138
138
|
# @!attribute [rw] policy_name
|
@@ -189,6 +189,11 @@ module Aws::ApplicationAutoScaling
|
|
189
189
|
# Example:
|
190
190
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
191
191
|
#
|
192
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
193
|
+
# and unique identifier are specified using the endpoint ARN.
|
194
|
+
# Example:
|
195
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
196
|
+
#
|
192
197
|
# * Lambda provisioned concurrency - The resource type is `function`
|
193
198
|
# and the unique identifier is the function name with a function
|
194
199
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -198,6 +203,10 @@ module Aws::ApplicationAutoScaling
|
|
198
203
|
# unique identifier is the table name. Example:
|
199
204
|
# `keyspace/mykeyspace/table/mytable`.
|
200
205
|
#
|
206
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
207
|
+
# specified using the cluster ARN. Example:
|
208
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
209
|
+
#
|
201
210
|
#
|
202
211
|
#
|
203
212
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -245,6 +254,10 @@ module Aws::ApplicationAutoScaling
|
|
245
254
|
# The number of inference units for an Amazon Comprehend document
|
246
255
|
# classification endpoint.
|
247
256
|
#
|
257
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
258
|
+
# The number of inference units for an Amazon Comprehend entity
|
259
|
+
# recognizer endpoint.
|
260
|
+
#
|
248
261
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
249
262
|
# concurrency for a Lambda function.
|
250
263
|
#
|
@@ -253,6 +266,9 @@ module Aws::ApplicationAutoScaling
|
|
253
266
|
#
|
254
267
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
255
268
|
# capacity for an Amazon Keyspaces table.
|
269
|
+
#
|
270
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
271
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
256
272
|
# @return [String]
|
257
273
|
#
|
258
274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicyRequest AWS API Documentation
|
@@ -274,10 +290,10 @@ module Aws::ApplicationAutoScaling
|
|
274
290
|
# data as a hash:
|
275
291
|
#
|
276
292
|
# {
|
277
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
293
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
278
294
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
279
295
|
# resource_id: "ResourceIdMaxLen1600", # required
|
280
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
281
297
|
# }
|
282
298
|
#
|
283
299
|
# @!attribute [rw] service_namespace
|
@@ -334,6 +350,11 @@ module Aws::ApplicationAutoScaling
|
|
334
350
|
# Example:
|
335
351
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
336
352
|
#
|
353
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
354
|
+
# and unique identifier are specified using the endpoint ARN.
|
355
|
+
# Example:
|
356
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
357
|
+
#
|
337
358
|
# * Lambda provisioned concurrency - The resource type is `function`
|
338
359
|
# and the unique identifier is the function name with a function
|
339
360
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -343,6 +364,10 @@ module Aws::ApplicationAutoScaling
|
|
343
364
|
# unique identifier is the table name. Example:
|
344
365
|
# `keyspace/mykeyspace/table/mytable`.
|
345
366
|
#
|
367
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
368
|
+
# specified using the cluster ARN. Example:
|
369
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
370
|
+
#
|
346
371
|
#
|
347
372
|
#
|
348
373
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -390,6 +415,10 @@ module Aws::ApplicationAutoScaling
|
|
390
415
|
# The number of inference units for an Amazon Comprehend document
|
391
416
|
# classification endpoint.
|
392
417
|
#
|
418
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
419
|
+
# The number of inference units for an Amazon Comprehend entity
|
420
|
+
# recognizer endpoint.
|
421
|
+
#
|
393
422
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
394
423
|
# concurrency for a Lambda function.
|
395
424
|
#
|
@@ -398,6 +427,9 @@ module Aws::ApplicationAutoScaling
|
|
398
427
|
#
|
399
428
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
400
429
|
# capacity for an Amazon Keyspaces table.
|
430
|
+
#
|
431
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
432
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
401
433
|
# @return [String]
|
402
434
|
#
|
403
435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledActionRequest AWS API Documentation
|
@@ -419,9 +451,9 @@ module Aws::ApplicationAutoScaling
|
|
419
451
|
# data as a hash:
|
420
452
|
#
|
421
453
|
# {
|
422
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
454
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
423
455
|
# resource_id: "ResourceIdMaxLen1600", # required
|
424
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
425
457
|
# }
|
426
458
|
#
|
427
459
|
# @!attribute [rw] service_namespace
|
@@ -474,6 +506,11 @@ module Aws::ApplicationAutoScaling
|
|
474
506
|
# Example:
|
475
507
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
476
508
|
#
|
509
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
510
|
+
# and unique identifier are specified using the endpoint ARN.
|
511
|
+
# Example:
|
512
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
513
|
+
#
|
477
514
|
# * Lambda provisioned concurrency - The resource type is `function`
|
478
515
|
# and the unique identifier is the function name with a function
|
479
516
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -483,6 +520,10 @@ module Aws::ApplicationAutoScaling
|
|
483
520
|
# unique identifier is the table name. Example:
|
484
521
|
# `keyspace/mykeyspace/table/mytable`.
|
485
522
|
#
|
523
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
524
|
+
# specified using the cluster ARN. Example:
|
525
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
526
|
+
#
|
486
527
|
#
|
487
528
|
#
|
488
529
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -531,6 +572,10 @@ module Aws::ApplicationAutoScaling
|
|
531
572
|
# The number of inference units for an Amazon Comprehend document
|
532
573
|
# classification endpoint.
|
533
574
|
#
|
575
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
576
|
+
# The number of inference units for an Amazon Comprehend entity
|
577
|
+
# recognizer endpoint.
|
578
|
+
#
|
534
579
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
535
580
|
# concurrency for a Lambda function.
|
536
581
|
#
|
@@ -539,6 +584,9 @@ module Aws::ApplicationAutoScaling
|
|
539
584
|
#
|
540
585
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
541
586
|
# capacity for an Amazon Keyspaces table.
|
587
|
+
#
|
588
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
589
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
542
590
|
# @return [String]
|
543
591
|
#
|
544
592
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTargetRequest AWS API Documentation
|
@@ -559,9 +607,9 @@ module Aws::ApplicationAutoScaling
|
|
559
607
|
# data as a hash:
|
560
608
|
#
|
561
609
|
# {
|
562
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
610
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
563
611
|
# resource_ids: ["ResourceIdMaxLen1600"],
|
564
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
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
|
565
613
|
# max_results: 1,
|
566
614
|
# next_token: "XmlString",
|
567
615
|
# }
|
@@ -618,6 +666,11 @@ module Aws::ApplicationAutoScaling
|
|
618
666
|
# Example:
|
619
667
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
620
668
|
#
|
669
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
670
|
+
# and unique identifier are specified using the endpoint ARN.
|
671
|
+
# Example:
|
672
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
673
|
+
#
|
621
674
|
# * Lambda provisioned concurrency - The resource type is `function`
|
622
675
|
# and the unique identifier is the function name with a function
|
623
676
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -627,6 +680,10 @@ module Aws::ApplicationAutoScaling
|
|
627
680
|
# unique identifier is the table name. Example:
|
628
681
|
# `keyspace/mykeyspace/table/mytable`.
|
629
682
|
#
|
683
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
684
|
+
# specified using the cluster ARN. Example:
|
685
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
686
|
+
#
|
630
687
|
#
|
631
688
|
#
|
632
689
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -676,6 +733,10 @@ module Aws::ApplicationAutoScaling
|
|
676
733
|
# The number of inference units for an Amazon Comprehend document
|
677
734
|
# classification endpoint.
|
678
735
|
#
|
736
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
737
|
+
# The number of inference units for an Amazon Comprehend entity
|
738
|
+
# recognizer endpoint.
|
739
|
+
#
|
679
740
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
680
741
|
# concurrency for a Lambda function.
|
681
742
|
#
|
@@ -684,6 +745,9 @@ module Aws::ApplicationAutoScaling
|
|
684
745
|
#
|
685
746
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
686
747
|
# capacity for an Amazon Keyspaces table.
|
748
|
+
#
|
749
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
750
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
687
751
|
# @return [String]
|
688
752
|
#
|
689
753
|
# @!attribute [rw] max_results
|
@@ -735,9 +799,9 @@ module Aws::ApplicationAutoScaling
|
|
735
799
|
# data as a hash:
|
736
800
|
#
|
737
801
|
# {
|
738
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
802
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
739
803
|
# resource_id: "ResourceIdMaxLen1600",
|
740
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
804
|
+
# 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
|
741
805
|
# max_results: 1,
|
742
806
|
# next_token: "XmlString",
|
743
807
|
# }
|
@@ -794,6 +858,11 @@ module Aws::ApplicationAutoScaling
|
|
794
858
|
# Example:
|
795
859
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
796
860
|
#
|
861
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
862
|
+
# and unique identifier are specified using the endpoint ARN.
|
863
|
+
# Example:
|
864
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
865
|
+
#
|
797
866
|
# * Lambda provisioned concurrency - The resource type is `function`
|
798
867
|
# and the unique identifier is the function name with a function
|
799
868
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -803,6 +872,10 @@ module Aws::ApplicationAutoScaling
|
|
803
872
|
# unique identifier is the table name. Example:
|
804
873
|
# `keyspace/mykeyspace/table/mytable`.
|
805
874
|
#
|
875
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
876
|
+
# specified using the cluster ARN. Example:
|
877
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
878
|
+
#
|
806
879
|
#
|
807
880
|
#
|
808
881
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -851,6 +924,10 @@ module Aws::ApplicationAutoScaling
|
|
851
924
|
# The number of inference units for an Amazon Comprehend document
|
852
925
|
# classification endpoint.
|
853
926
|
#
|
927
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
928
|
+
# The number of inference units for an Amazon Comprehend entity
|
929
|
+
# recognizer endpoint.
|
930
|
+
#
|
854
931
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
855
932
|
# concurrency for a Lambda function.
|
856
933
|
#
|
@@ -859,6 +936,9 @@ module Aws::ApplicationAutoScaling
|
|
859
936
|
#
|
860
937
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
861
938
|
# capacity for an Amazon Keyspaces table.
|
939
|
+
#
|
940
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
941
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
862
942
|
# @return [String]
|
863
943
|
#
|
864
944
|
# @!attribute [rw] max_results
|
@@ -911,9 +991,9 @@ module Aws::ApplicationAutoScaling
|
|
911
991
|
#
|
912
992
|
# {
|
913
993
|
# policy_names: ["ResourceIdMaxLen1600"],
|
914
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
994
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
915
995
|
# resource_id: "ResourceIdMaxLen1600",
|
916
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
996
|
+
# 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
|
917
997
|
# max_results: 1,
|
918
998
|
# next_token: "XmlString",
|
919
999
|
# }
|
@@ -974,6 +1054,11 @@ module Aws::ApplicationAutoScaling
|
|
974
1054
|
# Example:
|
975
1055
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
976
1056
|
#
|
1057
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
1058
|
+
# and unique identifier are specified using the endpoint ARN.
|
1059
|
+
# Example:
|
1060
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1061
|
+
#
|
977
1062
|
# * Lambda provisioned concurrency - The resource type is `function`
|
978
1063
|
# and the unique identifier is the function name with a function
|
979
1064
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -983,6 +1068,10 @@ module Aws::ApplicationAutoScaling
|
|
983
1068
|
# unique identifier is the table name. Example:
|
984
1069
|
# `keyspace/mykeyspace/table/mytable`.
|
985
1070
|
#
|
1071
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1072
|
+
# specified using the cluster ARN. Example:
|
1073
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1074
|
+
#
|
986
1075
|
#
|
987
1076
|
#
|
988
1077
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1031,6 +1120,10 @@ module Aws::ApplicationAutoScaling
|
|
1031
1120
|
# The number of inference units for an Amazon Comprehend document
|
1032
1121
|
# classification endpoint.
|
1033
1122
|
#
|
1123
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
1124
|
+
# The number of inference units for an Amazon Comprehend entity
|
1125
|
+
# recognizer endpoint.
|
1126
|
+
#
|
1034
1127
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1035
1128
|
# concurrency for a Lambda function.
|
1036
1129
|
#
|
@@ -1039,6 +1132,9 @@ module Aws::ApplicationAutoScaling
|
|
1039
1132
|
#
|
1040
1133
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1041
1134
|
# capacity for an Amazon Keyspaces table.
|
1135
|
+
#
|
1136
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
1137
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
1042
1138
|
# @return [String]
|
1043
1139
|
#
|
1044
1140
|
# @!attribute [rw] max_results
|
@@ -1092,9 +1188,9 @@ module Aws::ApplicationAutoScaling
|
|
1092
1188
|
#
|
1093
1189
|
# {
|
1094
1190
|
# scheduled_action_names: ["ResourceIdMaxLen1600"],
|
1095
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1191
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1096
1192
|
# resource_id: "ResourceIdMaxLen1600",
|
1097
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
1193
|
+
# 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
|
1098
1194
|
# max_results: 1,
|
1099
1195
|
# next_token: "XmlString",
|
1100
1196
|
# }
|
@@ -1155,6 +1251,11 @@ module Aws::ApplicationAutoScaling
|
|
1155
1251
|
# Example:
|
1156
1252
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1157
1253
|
#
|
1254
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
1255
|
+
# and unique identifier are specified using the endpoint ARN.
|
1256
|
+
# Example:
|
1257
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1258
|
+
#
|
1158
1259
|
# * Lambda provisioned concurrency - The resource type is `function`
|
1159
1260
|
# and the unique identifier is the function name with a function
|
1160
1261
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -1164,6 +1265,10 @@ module Aws::ApplicationAutoScaling
|
|
1164
1265
|
# unique identifier is the table name. Example:
|
1165
1266
|
# `keyspace/mykeyspace/table/mytable`.
|
1166
1267
|
#
|
1268
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1269
|
+
# specified using the cluster ARN. Example:
|
1270
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1271
|
+
#
|
1167
1272
|
#
|
1168
1273
|
#
|
1169
1274
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1212,6 +1317,10 @@ module Aws::ApplicationAutoScaling
|
|
1212
1317
|
# The number of inference units for an Amazon Comprehend document
|
1213
1318
|
# classification endpoint.
|
1214
1319
|
#
|
1320
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
1321
|
+
# The number of inference units for an Amazon Comprehend entity
|
1322
|
+
# recognizer endpoint.
|
1323
|
+
#
|
1215
1324
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1216
1325
|
# concurrency for a Lambda function.
|
1217
1326
|
#
|
@@ -1220,6 +1329,9 @@ module Aws::ApplicationAutoScaling
|
|
1220
1329
|
#
|
1221
1330
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1222
1331
|
# capacity for an Amazon Keyspaces table.
|
1332
|
+
#
|
1333
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
1334
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
1223
1335
|
# @return [String]
|
1224
1336
|
#
|
1225
1337
|
# @!attribute [rw] max_results
|
@@ -1395,7 +1507,7 @@ module Aws::ApplicationAutoScaling
|
|
1395
1507
|
# data as a hash:
|
1396
1508
|
#
|
1397
1509
|
# {
|
1398
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization
|
1510
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization
|
1399
1511
|
# resource_label: "ResourceLabel",
|
1400
1512
|
# }
|
1401
1513
|
#
|
@@ -1410,9 +1522,9 @@ module Aws::ApplicationAutoScaling
|
|
1410
1522
|
# `ALBRequestCountPerTarget` and there is a target group attached to
|
1411
1523
|
# the Spot Fleet request or ECS service.
|
1412
1524
|
#
|
1413
|
-
#
|
1414
|
-
#
|
1415
|
-
#
|
1525
|
+
# You create the resource label by appending the final portion of the
|
1526
|
+
# load balancer ARN and the final portion of the target group ARN into
|
1527
|
+
# a single value, separated by a forward slash (/). The format is
|
1416
1528
|
# app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>,
|
1417
1529
|
# where:
|
1418
1530
|
#
|
@@ -1422,6 +1534,9 @@ module Aws::ApplicationAutoScaling
|
|
1422
1534
|
# * targetgroup/<target-group-name>/<target-group-id> is
|
1423
1535
|
# the final portion of the target group ARN.
|
1424
1536
|
#
|
1537
|
+
# This is an example:
|
1538
|
+
# app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.
|
1539
|
+
#
|
1425
1540
|
# To find the ARN for an Application Load Balancer, use the
|
1426
1541
|
# [DescribeLoadBalancers][1] API operation. To find the ARN for the
|
1427
1542
|
# target group, use the [DescribeTargetGroups][2] API operation.
|
@@ -1446,9 +1561,9 @@ module Aws::ApplicationAutoScaling
|
|
1446
1561
|
#
|
1447
1562
|
# {
|
1448
1563
|
# policy_name: "PolicyName", # required
|
1449
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1564
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1450
1565
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1451
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
1566
|
+
# 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
|
1452
1567
|
# policy_type: "StepScaling", # accepts StepScaling, TargetTrackingScaling
|
1453
1568
|
# step_scaling_policy_configuration: {
|
1454
1569
|
# adjustment_type: "ChangeInCapacity", # accepts ChangeInCapacity, PercentChangeInCapacity, ExactCapacity
|
@@ -1466,7 +1581,7 @@ module Aws::ApplicationAutoScaling
|
|
1466
1581
|
# target_tracking_scaling_policy_configuration: {
|
1467
1582
|
# target_value: 1.0, # required
|
1468
1583
|
# predefined_metric_specification: {
|
1469
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization
|
1584
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization
|
1470
1585
|
# resource_label: "ResourceLabel",
|
1471
1586
|
# },
|
1472
1587
|
# customized_metric_specification: {
|
@@ -1541,6 +1656,11 @@ module Aws::ApplicationAutoScaling
|
|
1541
1656
|
# Example:
|
1542
1657
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1543
1658
|
#
|
1659
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
1660
|
+
# and unique identifier are specified using the endpoint ARN.
|
1661
|
+
# Example:
|
1662
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1663
|
+
#
|
1544
1664
|
# * Lambda provisioned concurrency - The resource type is `function`
|
1545
1665
|
# and the unique identifier is the function name with a function
|
1546
1666
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -1550,6 +1670,10 @@ module Aws::ApplicationAutoScaling
|
|
1550
1670
|
# unique identifier is the table name. Example:
|
1551
1671
|
# `keyspace/mykeyspace/table/mytable`.
|
1552
1672
|
#
|
1673
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1674
|
+
# specified using the cluster ARN. Example:
|
1675
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1676
|
+
#
|
1553
1677
|
#
|
1554
1678
|
#
|
1555
1679
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1597,6 +1721,10 @@ module Aws::ApplicationAutoScaling
|
|
1597
1721
|
# The number of inference units for an Amazon Comprehend document
|
1598
1722
|
# classification endpoint.
|
1599
1723
|
#
|
1724
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
1725
|
+
# The number of inference units for an Amazon Comprehend entity
|
1726
|
+
# recognizer endpoint.
|
1727
|
+
#
|
1600
1728
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1601
1729
|
# concurrency for a Lambda function.
|
1602
1730
|
#
|
@@ -1605,6 +1733,9 @@ module Aws::ApplicationAutoScaling
|
|
1605
1733
|
#
|
1606
1734
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1607
1735
|
# capacity for an Amazon Keyspaces table.
|
1736
|
+
#
|
1737
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
1738
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
1608
1739
|
# @return [String]
|
1609
1740
|
#
|
1610
1741
|
# @!attribute [rw] policy_type
|
@@ -1616,7 +1747,7 @@ module Aws::ApplicationAutoScaling
|
|
1616
1747
|
# `TargetTrackingScaling`—Not supported for Amazon EMR
|
1617
1748
|
#
|
1618
1749
|
# `StepScaling`—Not supported for DynamoDB, Amazon Comprehend, Lambda,
|
1619
|
-
#
|
1750
|
+
# Amazon Keyspaces (for Apache Cassandra), or Amazon MSK.
|
1620
1751
|
#
|
1621
1752
|
# For more information, see [Target Tracking Scaling Policies][1] and
|
1622
1753
|
# [Step Scaling Policies][2] in the *Application Auto Scaling User
|
@@ -1679,11 +1810,11 @@ module Aws::ApplicationAutoScaling
|
|
1679
1810
|
# data as a hash:
|
1680
1811
|
#
|
1681
1812
|
# {
|
1682
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
1813
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1683
1814
|
# schedule: "ResourceIdMaxLen1600",
|
1684
1815
|
# scheduled_action_name: "ScheduledActionName", # required
|
1685
1816
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1686
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
1817
|
+
# 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
|
1687
1818
|
# start_time: Time.now,
|
1688
1819
|
# end_time: Time.now,
|
1689
1820
|
# scalable_target_action: {
|
@@ -1713,16 +1844,17 @@ module Aws::ApplicationAutoScaling
|
|
1713
1844
|
# For rate expressions, *value* is a positive integer and *unit* is
|
1714
1845
|
# `minute` \| `minutes` \| `hour` \| `hours` \| `day` \| `days`.
|
1715
1846
|
#
|
1716
|
-
# For
|
1717
|
-
#
|
1847
|
+
# For cron expressions, *fields* is a cron expression. The supported
|
1848
|
+
# cron format consists of six fields separated by white spaces:
|
1849
|
+
# \[Minutes\] \[Hours\] \[Day\_of\_Month\] \[Month\] \[Day\_of\_Week\]
|
1850
|
+
# \[Year\].
|
1718
1851
|
#
|
1719
|
-
# For
|
1720
|
-
#
|
1852
|
+
# For more information and examples, see [Scheduled Scaling][1] in the
|
1853
|
+
# *Application Auto Scaling User Guide*.
|
1721
1854
|
#
|
1722
1855
|
#
|
1723
1856
|
#
|
1724
|
-
# [1]: https://docs.aws.amazon.com/
|
1725
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
1857
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
1726
1858
|
# @return [String]
|
1727
1859
|
#
|
1728
1860
|
# @!attribute [rw] scheduled_action_name
|
@@ -1774,6 +1906,11 @@ module Aws::ApplicationAutoScaling
|
|
1774
1906
|
# Example:
|
1775
1907
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1776
1908
|
#
|
1909
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
1910
|
+
# and unique identifier are specified using the endpoint ARN.
|
1911
|
+
# Example:
|
1912
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
1913
|
+
#
|
1777
1914
|
# * Lambda provisioned concurrency - The resource type is `function`
|
1778
1915
|
# and the unique identifier is the function name with a function
|
1779
1916
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -1783,6 +1920,10 @@ module Aws::ApplicationAutoScaling
|
|
1783
1920
|
# unique identifier is the table name. Example:
|
1784
1921
|
# `keyspace/mykeyspace/table/mytable`.
|
1785
1922
|
#
|
1923
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
1924
|
+
# specified using the cluster ARN. Example:
|
1925
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
1926
|
+
#
|
1786
1927
|
#
|
1787
1928
|
#
|
1788
1929
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -1830,6 +1971,10 @@ module Aws::ApplicationAutoScaling
|
|
1830
1971
|
# The number of inference units for an Amazon Comprehend document
|
1831
1972
|
# classification endpoint.
|
1832
1973
|
#
|
1974
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
1975
|
+
# The number of inference units for an Amazon Comprehend entity
|
1976
|
+
# recognizer endpoint.
|
1977
|
+
#
|
1833
1978
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
1834
1979
|
# concurrency for a Lambda function.
|
1835
1980
|
#
|
@@ -1838,6 +1983,9 @@ module Aws::ApplicationAutoScaling
|
|
1838
1983
|
#
|
1839
1984
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
1840
1985
|
# capacity for an Amazon Keyspaces table.
|
1986
|
+
#
|
1987
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
1988
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
1841
1989
|
# @return [String]
|
1842
1990
|
#
|
1843
1991
|
# @!attribute [rw] start_time
|
@@ -1880,9 +2028,9 @@ module Aws::ApplicationAutoScaling
|
|
1880
2028
|
# data as a hash:
|
1881
2029
|
#
|
1882
2030
|
# {
|
1883
|
-
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra
|
2031
|
+
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource, comprehend, lambda, cassandra, kafka
|
1884
2032
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1885
|
-
# 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, lambda:function:ProvisionedConcurrency, cassandra:table:ReadCapacityUnits, cassandra:table:WriteCapacityUnits
|
2033
|
+
# 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
|
1886
2034
|
# min_capacity: 1,
|
1887
2035
|
# max_capacity: 1,
|
1888
2036
|
# role_arn: "ResourceIdMaxLen1600",
|
@@ -1944,6 +2092,11 @@ module Aws::ApplicationAutoScaling
|
|
1944
2092
|
# Example:
|
1945
2093
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
1946
2094
|
#
|
2095
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
2096
|
+
# and unique identifier are specified using the endpoint ARN.
|
2097
|
+
# Example:
|
2098
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
2099
|
+
#
|
1947
2100
|
# * Lambda provisioned concurrency - The resource type is `function`
|
1948
2101
|
# and the unique identifier is the function name with a function
|
1949
2102
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -1953,6 +2106,10 @@ module Aws::ApplicationAutoScaling
|
|
1953
2106
|
# unique identifier is the table name. Example:
|
1954
2107
|
# `keyspace/mykeyspace/table/mytable`.
|
1955
2108
|
#
|
2109
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
2110
|
+
# specified using the cluster ARN. Example:
|
2111
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2112
|
+
#
|
1956
2113
|
#
|
1957
2114
|
#
|
1958
2115
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2001,6 +2158,10 @@ module Aws::ApplicationAutoScaling
|
|
2001
2158
|
# The number of inference units for an Amazon Comprehend document
|
2002
2159
|
# classification endpoint.
|
2003
2160
|
#
|
2161
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
2162
|
+
# The number of inference units for an Amazon Comprehend entity
|
2163
|
+
# recognizer endpoint.
|
2164
|
+
#
|
2004
2165
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
2005
2166
|
# concurrency for a Lambda function.
|
2006
2167
|
#
|
@@ -2009,15 +2170,18 @@ module Aws::ApplicationAutoScaling
|
|
2009
2170
|
#
|
2010
2171
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
2011
2172
|
# capacity for an Amazon Keyspaces table.
|
2173
|
+
#
|
2174
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
2175
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
2012
2176
|
# @return [String]
|
2013
2177
|
#
|
2014
2178
|
# @!attribute [rw] min_capacity
|
2015
2179
|
# The minimum value that you plan to scale in to. When a scaling
|
2016
2180
|
# policy is in effect, Application Auto Scaling can scale in
|
2017
2181
|
# (contract) as needed to the minimum capacity limit in response to
|
2018
|
-
# changing demand.
|
2182
|
+
# changing demand. This property is required when registering a new
|
2183
|
+
# scalable target.
|
2019
2184
|
#
|
2020
|
-
# This parameter is required if you are registering a scalable target.
|
2021
2185
|
# For certain resources, the minimum value allowed is 0. This includes
|
2022
2186
|
# Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB
|
2023
2187
|
# clusters, EMR clusters, and custom resources. For all other
|
@@ -2028,9 +2192,21 @@ module Aws::ApplicationAutoScaling
|
|
2028
2192
|
# The maximum value that you plan to scale out to. When a scaling
|
2029
2193
|
# policy is in effect, Application Auto Scaling can scale out (expand)
|
2030
2194
|
# as needed to the maximum capacity limit in response to changing
|
2031
|
-
# demand.
|
2195
|
+
# demand. This property is required when registering a new scalable
|
2196
|
+
# target.
|
2032
2197
|
#
|
2033
|
-
#
|
2198
|
+
# Although you can specify a large maximum capacity, note that service
|
2199
|
+
# quotas may impose lower limits. Each service has its own default
|
2200
|
+
# quotas for the maximum capacity of the resource. If you want to
|
2201
|
+
# specify a higher limit, you can request an increase. For more
|
2202
|
+
# information, consult the documentation for that service. For
|
2203
|
+
# information about the default quotas for each service, see [Service
|
2204
|
+
# Endpoints and Quotas][1] in the *Amazon Web Services General
|
2205
|
+
# Reference*.
|
2206
|
+
#
|
2207
|
+
#
|
2208
|
+
#
|
2209
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html
|
2034
2210
|
# @return [Integer]
|
2035
2211
|
#
|
2036
2212
|
# @!attribute [rw] role_arn
|
@@ -2147,6 +2323,11 @@ module Aws::ApplicationAutoScaling
|
|
2147
2323
|
# Example:
|
2148
2324
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
2149
2325
|
#
|
2326
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
2327
|
+
# and unique identifier are specified using the endpoint ARN.
|
2328
|
+
# Example:
|
2329
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
2330
|
+
#
|
2150
2331
|
# * Lambda provisioned concurrency - The resource type is `function`
|
2151
2332
|
# and the unique identifier is the function name with a function
|
2152
2333
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -2156,6 +2337,10 @@ module Aws::ApplicationAutoScaling
|
|
2156
2337
|
# unique identifier is the table name. Example:
|
2157
2338
|
# `keyspace/mykeyspace/table/mytable`.
|
2158
2339
|
#
|
2340
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
2341
|
+
# specified using the cluster ARN. Example:
|
2342
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2343
|
+
#
|
2159
2344
|
#
|
2160
2345
|
#
|
2161
2346
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2204,6 +2389,10 @@ module Aws::ApplicationAutoScaling
|
|
2204
2389
|
# The number of inference units for an Amazon Comprehend document
|
2205
2390
|
# classification endpoint.
|
2206
2391
|
#
|
2392
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
2393
|
+
# The number of inference units for an Amazon Comprehend entity
|
2394
|
+
# recognizer endpoint.
|
2395
|
+
#
|
2207
2396
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
2208
2397
|
# concurrency for a Lambda function.
|
2209
2398
|
#
|
@@ -2212,6 +2401,9 @@ module Aws::ApplicationAutoScaling
|
|
2212
2401
|
#
|
2213
2402
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
2214
2403
|
# capacity for an Amazon Keyspaces table.
|
2404
|
+
#
|
2405
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
2406
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
2215
2407
|
# @return [String]
|
2216
2408
|
#
|
2217
2409
|
# @!attribute [rw] min_capacity
|
@@ -2264,12 +2456,27 @@ module Aws::ApplicationAutoScaling
|
|
2264
2456
|
# @!attribute [rw] min_capacity
|
2265
2457
|
# The minimum capacity.
|
2266
2458
|
#
|
2267
|
-
# For
|
2268
|
-
#
|
2459
|
+
# For certain resources, the minimum value allowed is 0. This includes
|
2460
|
+
# Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB
|
2461
|
+
# clusters, EMR clusters, and custom resources. For all other
|
2462
|
+
# resources, the minimum value allowed is 1.
|
2269
2463
|
# @return [Integer]
|
2270
2464
|
#
|
2271
2465
|
# @!attribute [rw] max_capacity
|
2272
2466
|
# The maximum capacity.
|
2467
|
+
#
|
2468
|
+
# Although you can specify a large maximum capacity, note that service
|
2469
|
+
# quotas may impose lower limits. Each service has its own default
|
2470
|
+
# quotas for the maximum capacity of the resource. If you want to
|
2471
|
+
# specify a higher limit, you can request an increase. For more
|
2472
|
+
# information, consult the documentation for that service. For
|
2473
|
+
# information about the default quotas for each service, see [Service
|
2474
|
+
# Endpoints and Quotas][1] in the *Amazon Web Services General
|
2475
|
+
# Reference*.
|
2476
|
+
#
|
2477
|
+
#
|
2478
|
+
#
|
2479
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html
|
2273
2480
|
# @return [Integer]
|
2274
2481
|
#
|
2275
2482
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/ScalableTargetAction AWS API Documentation
|
@@ -2336,6 +2543,11 @@ module Aws::ApplicationAutoScaling
|
|
2336
2543
|
# Example:
|
2337
2544
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
2338
2545
|
#
|
2546
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
2547
|
+
# and unique identifier are specified using the endpoint ARN.
|
2548
|
+
# Example:
|
2549
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
2550
|
+
#
|
2339
2551
|
# * Lambda provisioned concurrency - The resource type is `function`
|
2340
2552
|
# and the unique identifier is the function name with a function
|
2341
2553
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -2345,6 +2557,10 @@ module Aws::ApplicationAutoScaling
|
|
2345
2557
|
# unique identifier is the table name. Example:
|
2346
2558
|
# `keyspace/mykeyspace/table/mytable`.
|
2347
2559
|
#
|
2560
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
2561
|
+
# specified using the cluster ARN. Example:
|
2562
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2563
|
+
#
|
2348
2564
|
#
|
2349
2565
|
#
|
2350
2566
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2392,6 +2608,10 @@ module Aws::ApplicationAutoScaling
|
|
2392
2608
|
# The number of inference units for an Amazon Comprehend document
|
2393
2609
|
# classification endpoint.
|
2394
2610
|
#
|
2611
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
2612
|
+
# The number of inference units for an Amazon Comprehend entity
|
2613
|
+
# recognizer endpoint.
|
2614
|
+
#
|
2395
2615
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
2396
2616
|
# concurrency for a Lambda function.
|
2397
2617
|
#
|
@@ -2400,6 +2620,9 @@ module Aws::ApplicationAutoScaling
|
|
2400
2620
|
#
|
2401
2621
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
2402
2622
|
# capacity for an Amazon Keyspaces table.
|
2623
|
+
#
|
2624
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
2625
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
2403
2626
|
# @return [String]
|
2404
2627
|
#
|
2405
2628
|
# @!attribute [rw] description
|
@@ -2451,6 +2674,14 @@ module Aws::ApplicationAutoScaling
|
|
2451
2674
|
|
2452
2675
|
# Represents a scaling policy to use with Application Auto Scaling.
|
2453
2676
|
#
|
2677
|
+
# For more information about configuring scaling policies for a specific
|
2678
|
+
# service, see [Getting started with Application Auto Scaling][1] in the
|
2679
|
+
# *Application Auto Scaling User Guide*.
|
2680
|
+
#
|
2681
|
+
#
|
2682
|
+
#
|
2683
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/getting-started.html
|
2684
|
+
#
|
2454
2685
|
# @!attribute [rw] policy_arn
|
2455
2686
|
# The Amazon Resource Name (ARN) of the scaling policy.
|
2456
2687
|
# @return [String]
|
@@ -2508,6 +2739,11 @@ module Aws::ApplicationAutoScaling
|
|
2508
2739
|
# Example:
|
2509
2740
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
2510
2741
|
#
|
2742
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
2743
|
+
# and unique identifier are specified using the endpoint ARN.
|
2744
|
+
# Example:
|
2745
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
2746
|
+
#
|
2511
2747
|
# * Lambda provisioned concurrency - The resource type is `function`
|
2512
2748
|
# and the unique identifier is the function name with a function
|
2513
2749
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -2517,6 +2753,10 @@ module Aws::ApplicationAutoScaling
|
|
2517
2753
|
# unique identifier is the table name. Example:
|
2518
2754
|
# `keyspace/mykeyspace/table/mytable`.
|
2519
2755
|
#
|
2756
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
2757
|
+
# specified using the cluster ARN. Example:
|
2758
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2759
|
+
#
|
2520
2760
|
#
|
2521
2761
|
#
|
2522
2762
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2564,6 +2804,10 @@ module Aws::ApplicationAutoScaling
|
|
2564
2804
|
# The number of inference units for an Amazon Comprehend document
|
2565
2805
|
# classification endpoint.
|
2566
2806
|
#
|
2807
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
2808
|
+
# The number of inference units for an Amazon Comprehend entity
|
2809
|
+
# recognizer endpoint.
|
2810
|
+
#
|
2567
2811
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
2568
2812
|
# concurrency for a Lambda function.
|
2569
2813
|
#
|
@@ -2572,6 +2816,9 @@ module Aws::ApplicationAutoScaling
|
|
2572
2816
|
#
|
2573
2817
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
2574
2818
|
# capacity for an Amazon Keyspaces table.
|
2819
|
+
#
|
2820
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
2821
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
2575
2822
|
# @return [String]
|
2576
2823
|
#
|
2577
2824
|
# @!attribute [rw] policy_type
|
@@ -2641,16 +2888,17 @@ module Aws::ApplicationAutoScaling
|
|
2641
2888
|
# For rate expressions, *value* is a positive integer and *unit* is
|
2642
2889
|
# `minute` \| `minutes` \| `hour` \| `hours` \| `day` \| `days`.
|
2643
2890
|
#
|
2644
|
-
# For
|
2645
|
-
#
|
2891
|
+
# For cron expressions, *fields* is a cron expression. The supported
|
2892
|
+
# cron format consists of six fields separated by white spaces:
|
2893
|
+
# \[Minutes\] \[Hours\] \[Day\_of\_Month\] \[Month\] \[Day\_of\_Week\]
|
2894
|
+
# \[Year\].
|
2646
2895
|
#
|
2647
|
-
# For
|
2648
|
-
#
|
2896
|
+
# For more information and examples, see [Scheduled Scaling][1] in the
|
2897
|
+
# *Application Auto Scaling User Guide*.
|
2649
2898
|
#
|
2650
2899
|
#
|
2651
2900
|
#
|
2652
|
-
# [1]: https://docs.aws.amazon.com/
|
2653
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
2901
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-scheduled-scaling.html
|
2654
2902
|
# @return [String]
|
2655
2903
|
#
|
2656
2904
|
# @!attribute [rw] resource_id
|
@@ -2697,6 +2945,11 @@ module Aws::ApplicationAutoScaling
|
|
2697
2945
|
# Example:
|
2698
2946
|
# `arn:aws:comprehend:us-west-2:123456789012:document-classifier-endpoint/EXAMPLE`.
|
2699
2947
|
#
|
2948
|
+
# * Amazon Comprehend entity recognizer endpoint - The resource type
|
2949
|
+
# and unique identifier are specified using the endpoint ARN.
|
2950
|
+
# Example:
|
2951
|
+
# `arn:aws:comprehend:us-west-2:123456789012:entity-recognizer-endpoint/EXAMPLE`.
|
2952
|
+
#
|
2700
2953
|
# * Lambda provisioned concurrency - The resource type is `function`
|
2701
2954
|
# and the unique identifier is the function name with a function
|
2702
2955
|
# version or alias name suffix that is not `$LATEST`. Example:
|
@@ -2706,6 +2959,10 @@ module Aws::ApplicationAutoScaling
|
|
2706
2959
|
# unique identifier is the table name. Example:
|
2707
2960
|
# `keyspace/mykeyspace/table/mytable`.
|
2708
2961
|
#
|
2962
|
+
# * Amazon MSK cluster - The resource type and unique identifier are
|
2963
|
+
# specified using the cluster ARN. Example:
|
2964
|
+
# `arn:aws:kafka:us-east-1:123456789012:cluster/demo-cluster-1/6357e0b2-0e6a-4b86-a0b4-70df934c2e31-5`.
|
2965
|
+
#
|
2709
2966
|
#
|
2710
2967
|
#
|
2711
2968
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
@@ -2753,6 +3010,10 @@ module Aws::ApplicationAutoScaling
|
|
2753
3010
|
# The number of inference units for an Amazon Comprehend document
|
2754
3011
|
# classification endpoint.
|
2755
3012
|
#
|
3013
|
+
# * `comprehend:entity-recognizer-endpoint:DesiredInferenceUnits` -
|
3014
|
+
# The number of inference units for an Amazon Comprehend entity
|
3015
|
+
# recognizer endpoint.
|
3016
|
+
#
|
2756
3017
|
# * `lambda:function:ProvisionedConcurrency` - The provisioned
|
2757
3018
|
# concurrency for a Lambda function.
|
2758
3019
|
#
|
@@ -2761,6 +3022,9 @@ module Aws::ApplicationAutoScaling
|
|
2761
3022
|
#
|
2762
3023
|
# * `cassandra:table:WriteCapacityUnits` - The provisioned write
|
2763
3024
|
# capacity for an Amazon Keyspaces table.
|
3025
|
+
#
|
3026
|
+
# * `kafka:broker-storage:VolumeSize` - The provisioned volume size
|
3027
|
+
# (in GiB) for brokers in an Amazon MSK cluster.
|
2764
3028
|
# @return [String]
|
2765
3029
|
#
|
2766
3030
|
# @!attribute [rw] start_time
|
@@ -2868,7 +3132,8 @@ module Aws::ApplicationAutoScaling
|
|
2868
3132
|
# @!attribute [rw] scaling_adjustment
|
2869
3133
|
# The amount by which to scale, based on the specified adjustment
|
2870
3134
|
# type. A positive value adds to the current capacity while a negative
|
2871
|
-
# number removes from the current capacity.
|
3135
|
+
# number removes from the current capacity. For exact capacity, you
|
3136
|
+
# must specify a positive value.
|
2872
3137
|
# @return [Integer]
|
2873
3138
|
#
|
2874
3139
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/StepAdjustment AWS API Documentation
|
@@ -2902,9 +3167,10 @@ module Aws::ApplicationAutoScaling
|
|
2902
3167
|
# }
|
2903
3168
|
#
|
2904
3169
|
# @!attribute [rw] adjustment_type
|
2905
|
-
# Specifies
|
2906
|
-
#
|
2907
|
-
#
|
3170
|
+
# Specifies how the `ScalingAdjustment` value in a [StepAdjustment][1]
|
3171
|
+
# is interpreted (for example, an absolute number or a percentage).
|
3172
|
+
# The valid values are `ChangeInCapacity`, `ExactCapacity`, and
|
3173
|
+
# `PercentChangeInCapacity`.
|
2908
3174
|
#
|
2909
3175
|
# `AdjustmentType` is required if you are adding a new step scaling
|
2910
3176
|
# policy configuration.
|
@@ -2923,15 +3189,13 @@ module Aws::ApplicationAutoScaling
|
|
2923
3189
|
# @return [Array<Types::StepAdjustment>]
|
2924
3190
|
#
|
2925
3191
|
# @!attribute [rw] min_adjustment_magnitude
|
2926
|
-
# The minimum value to scale by when
|
2927
|
-
# example, suppose that you create a
|
2928
|
-
# an Amazon ECS service by 25 percent
|
2929
|
-
# `MinAdjustmentMagnitude` of 2. If the service has
|
2930
|
-
# scaling policy is performed, 25 percent of 4 is 1.
|
2931
|
-
# you specified a `MinAdjustmentMagnitude` of 2,
|
2932
|
-
# Scaling scales out the service by 2 tasks.
|
2933
|
-
#
|
2934
|
-
# Valid only if the adjustment type is `PercentChangeInCapacity`.
|
3192
|
+
# The minimum value to scale by when the adjustment type is
|
3193
|
+
# `PercentChangeInCapacity`. For example, suppose that you create a
|
3194
|
+
# step scaling policy to scale out an Amazon ECS service by 25 percent
|
3195
|
+
# and you specify a `MinAdjustmentMagnitude` of 2. If the service has
|
3196
|
+
# 4 tasks and the scaling policy is performed, 25 percent of 4 is 1.
|
3197
|
+
# However, because you specified a `MinAdjustmentMagnitude` of 2,
|
3198
|
+
# Application Auto Scaling scales out the service by 2 tasks.
|
2935
3199
|
# @return [Integer]
|
2936
3200
|
#
|
2937
3201
|
# @!attribute [rw] cooldown
|
@@ -2941,12 +3205,14 @@ module Aws::ApplicationAutoScaling
|
|
2941
3205
|
# With scale-out policies, the intention is to continuously (but not
|
2942
3206
|
# excessively) scale out. After Application Auto Scaling successfully
|
2943
3207
|
# scales out using a step scaling policy, it starts to calculate the
|
2944
|
-
# cooldown time.
|
2945
|
-
#
|
2946
|
-
#
|
2947
|
-
#
|
2948
|
-
#
|
2949
|
-
#
|
3208
|
+
# cooldown time. The scaling policy won't increase the desired
|
3209
|
+
# capacity again unless either a larger scale out is triggered or the
|
3210
|
+
# cooldown period ends. While the cooldown period is in effect,
|
3211
|
+
# capacity added by the initiating scale-out activity is calculated as
|
3212
|
+
# part of the desired capacity for the next scale-out activity. For
|
3213
|
+
# example, when an alarm triggers a step scaling policy to increase
|
3214
|
+
# the capacity by 2, the scaling activity completes successfully, and
|
3215
|
+
# a cooldown period starts. If the alarm triggers again during the
|
2950
3216
|
# cooldown period but at a more aggressive step adjustment of 3, the
|
2951
3217
|
# previous increase of 2 is considered part of the current capacity.
|
2952
3218
|
# Therefore, only 1 is added to the capacity.
|
@@ -2982,11 +3248,14 @@ module Aws::ApplicationAutoScaling
|
|
2982
3248
|
#
|
2983
3249
|
# * DynamoDB global secondary indexes
|
2984
3250
|
#
|
2985
|
-
# * Amazon Comprehend document classification
|
3251
|
+
# * Amazon Comprehend document classification and entity recognizer
|
3252
|
+
# endpoints
|
2986
3253
|
#
|
2987
3254
|
# * Lambda provisioned concurrency
|
2988
3255
|
#
|
2989
3256
|
# * Amazon Keyspaces tables
|
3257
|
+
#
|
3258
|
+
# * Amazon MSK cluster storage
|
2990
3259
|
# @return [Integer]
|
2991
3260
|
#
|
2992
3261
|
# @!attribute [rw] metric_aggregation_type
|
@@ -3058,7 +3327,7 @@ module Aws::ApplicationAutoScaling
|
|
3058
3327
|
# {
|
3059
3328
|
# target_value: 1.0, # required
|
3060
3329
|
# predefined_metric_specification: {
|
3061
|
-
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization
|
3330
|
+
# predefined_metric_type: "DynamoDBReadCapacityUtilization", # required, accepts DynamoDBReadCapacityUtilization, DynamoDBWriteCapacityUtilization, ALBRequestCountPerTarget, RDSReaderAverageCPUUtilization, RDSReaderAverageDatabaseConnections, EC2SpotFleetRequestAverageCPUUtilization, EC2SpotFleetRequestAverageNetworkIn, EC2SpotFleetRequestAverageNetworkOut, SageMakerVariantInvocationsPerInstance, ECSServiceAverageCPUUtilization, ECSServiceAverageMemoryUtilization, AppStreamAverageCapacityUtilization, ComprehendInferenceUtilization, LambdaProvisionedConcurrencyUtilization, CassandraReadCapacityUtilization, CassandraWriteCapacityUtilization, KafkaBrokerStorageUtilization
|
3062
3331
|
# resource_label: "ResourceLabel",
|
3063
3332
|
# },
|
3064
3333
|
# customized_metric_specification: {
|
@@ -3079,8 +3348,13 @@ module Aws::ApplicationAutoScaling
|
|
3079
3348
|
# }
|
3080
3349
|
#
|
3081
3350
|
# @!attribute [rw] target_value
|
3082
|
-
# The target value for the metric.
|
3083
|
-
#
|
3351
|
+
# The target value for the metric. Although this property accepts
|
3352
|
+
# numbers of type Double, it won't accept values that are either too
|
3353
|
+
# small or too large. Values must be in the range of -2^360 to 2^360.
|
3354
|
+
# The value must be a valid number based on the choice of metric. For
|
3355
|
+
# example, if the metric is CPU utilization, then the target value is
|
3356
|
+
# a percent value that represents how much of the CPU can be used
|
3357
|
+
# before scaling out.
|
3084
3358
|
# @return [Float]
|
3085
3359
|
#
|
3086
3360
|
# @!attribute [rw] predefined_metric_specification
|
@@ -3100,10 +3374,12 @@ module Aws::ApplicationAutoScaling
|
|
3100
3374
|
# With the *scale-out cooldown period*, the intention is to
|
3101
3375
|
# continuously (but not excessively) scale out. After Application Auto
|
3102
3376
|
# Scaling successfully scales out using a target tracking scaling
|
3103
|
-
# policy, it starts to calculate the cooldown time.
|
3104
|
-
#
|
3105
|
-
#
|
3106
|
-
#
|
3377
|
+
# policy, it starts to calculate the cooldown time. The scaling policy
|
3378
|
+
# won't increase the desired capacity again unless either a larger
|
3379
|
+
# scale out is triggered or the cooldown period ends. While the
|
3380
|
+
# cooldown period is in effect, the capacity added by the initiating
|
3381
|
+
# scale-out activity is calculated as part of the desired capacity for
|
3382
|
+
# the next scale-out activity.
|
3107
3383
|
#
|
3108
3384
|
# Application Auto Scaling provides a default value of 300 for the
|
3109
3385
|
# following scalable targets:
|
@@ -3128,11 +3404,14 @@ module Aws::ApplicationAutoScaling
|
|
3128
3404
|
#
|
3129
3405
|
# * DynamoDB global secondary indexes
|
3130
3406
|
#
|
3131
|
-
# * Amazon Comprehend document classification
|
3407
|
+
# * Amazon Comprehend document classification and entity recognizer
|
3408
|
+
# endpoints
|
3132
3409
|
#
|
3133
3410
|
# * Lambda provisioned concurrency
|
3134
3411
|
#
|
3135
3412
|
# * Amazon Keyspaces tables
|
3413
|
+
#
|
3414
|
+
# * Amazon MSK cluster storage
|
3136
3415
|
# @return [Integer]
|
3137
3416
|
#
|
3138
3417
|
# @!attribute [rw] scale_in_cooldown
|
@@ -3170,11 +3449,14 @@ module Aws::ApplicationAutoScaling
|
|
3170
3449
|
#
|
3171
3450
|
# * DynamoDB global secondary indexes
|
3172
3451
|
#
|
3173
|
-
# * Amazon Comprehend document classification
|
3452
|
+
# * Amazon Comprehend document classification and entity recognizer
|
3453
|
+
# endpoints
|
3174
3454
|
#
|
3175
3455
|
# * Lambda provisioned concurrency
|
3176
3456
|
#
|
3177
3457
|
# * Amazon Keyspaces tables
|
3458
|
+
#
|
3459
|
+
# * Amazon MSK cluster storage
|
3178
3460
|
# @return [Integer]
|
3179
3461
|
#
|
3180
3462
|
# @!attribute [rw] disable_scale_in
|