Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

autoscaling_delete_policy

Deletes the specified scaling policy


Description

Deletes the specified scaling policy.

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

For more information, see Deleting a scaling policy in the Amazon EC2 Auto Scaling User Guide.

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.

Value

An empty list.

Request syntax

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

Examples

## Not run: 
# This example deletes the specified Auto Scaling policy.
svc$delete_policy(
  AutoScalingGroupName = "my-auto-scaling-group",
  PolicyName = "my-step-scale-out-policy"
)

## End(Not run)

paws.management

Amazon Web Services Management & Governance Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.