# NOT RUN {
# This example executes the specified Auto Scaling policy for the
# specified Auto Scaling group.
svc$execute_policy(
AutoScalingGroupName = "my-auto-scaling-group",
HonorCooldown = TRUE,
PolicyName = "ScaleIn"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab