paws.management (version 0.1.0)

autoscaling_delete_policy: Deletes the specified scaling policy

Description

Deletes the specified scaling policy.

Usage

autoscaling_delete_policy(AutoScalingGroupName, PolicyName)

Arguments

AutoScalingGroupName

The name of the Auto Scaling group.

PolicyName

[required] The name or Amazon Resource Name (ARN) of the policy.

Request syntax

svc$delete_policy(
  AutoScalingGroupName = "string",
  PolicyName = "string"
)

Details

Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.

Examples

Run this code
# NOT RUN {
# This example deletes the specified Auto Scaling policy.
# }
# NOT RUN {
svc$delete_policy(
  AutoScalingGroupName = "my-auto-scaling-group",
  PolicyName = "ScaleIn"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace