Gets information about the scalable targets in the specified namespace
Gets information about the scalable targets in the specified namespace.
You can filter the results using ResourceIds
and ScalableDimension
.
applicationautoscaling_describe_scalable_targets(ServiceNamespace, ResourceIds, ScalableDimension, MaxResults, NextToken)
ServiceNamespace |
[required] The namespace of the AWS service that provides the resource. For a
resource provided by your own application or service, use
|
ResourceIds |
The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier. If you specify a scalable dimension, you must also specify a resource ID.
|
ScalableDimension |
The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
|
MaxResults |
The maximum number of scalable targets. This value can be between 1 and 50. The default value is 50. If this parameter is used, the operation returns up to |
NextToken |
The token for the next set of results. |
A list with the following syntax:
list( ScalableTargets = list( list( ServiceNamespace = "ecs"|"elasticmapreduce"|"ec2"|"appstream"|"dynamodb"|"rds"|"sagemaker"|"custom-resource"|"comprehend"|"lambda"|"cassandra"|"kafka", ResourceId = "string", ScalableDimension = "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", MinCapacity = 123, MaxCapacity = 123, RoleARN = "string", CreationTime = as.POSIXct( "2015-01-01" ), SuspendedState = list( DynamicScalingInSuspended = TRUE|FALSE, DynamicScalingOutSuspended = TRUE|FALSE, ScheduledScalingSuspended = TRUE|FALSE ) ) ), NextToken = "string" )
svc$describe_scalable_targets( ServiceNamespace = "ecs"|"elasticmapreduce"|"ec2"|"appstream"|"dynamodb"|"rds"|"sagemaker"|"custom-resource"|"comprehend"|"lambda"|"cassandra"|"kafka", ResourceIds = list( "string" ), ScalableDimension = "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", MaxResults = 123, NextToken = "string" )
## Not run: # This example describes the scalable targets for the ECS service # namespace. svc$describe_scalable_targets( ServiceNamespace = "ecs" ) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.