Description Usage Arguments Value Request syntax Examples
View source: R/applicationautoscaling_operations.R
Deregisters an Application Auto Scaling scalable target when you have
finished using it. To see which resources have been registered, use
describe_scalable_targets
.
Deregistering a scalable target deletes the scaling policies and the scheduled actions that are associated with it.
1 2 | applicationautoscaling_deregister_scalable_target(ServiceNamespace,
ResourceId, ScalableDimension)
|
ServiceNamespace |
[required] The namespace of the AWS service that provides the resource. For a
resource provided by your own application or service, use
|
ResourceId |
[required] The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
|
ScalableDimension |
[required] The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property.
|
An empty list.
1 2 3 4 5 | svc$deregister_scalable_target(
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"
)
|
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# This example deregisters a scalable target for an Amazon ECS service
# called web-app that is running in the default cluster.
svc$deregister_scalable_target(
ResourceId = "service/default/web-app",
ScalableDimension = "ecs:service:DesiredCount",
ServiceNamespace = "ecs"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.