Container for the parameters to the ExecutePolicy operation.
Namespace: Amazon.AutoScaling.ModelRuns the policy you create for your Auto Scaling group in PutScalingPolicy.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class ExecutePolicyRequest : AmazonWebServiceRequest
Public Class ExecutePolicyRequest _ Inherits AmazonWebServiceRequest
public ref class ExecutePolicyRequest : public AmazonWebServiceRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| ExecutePolicyRequest()()()() | Initializes a new instance of the ExecutePolicyRequest class | |
| AutoScalingGroupName |
The name or ARN of the Auto Scaling Group.
Constraints: | |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| HonorCooldown |
Set to True if you want Auto Scaling to reject this request when the Auto Scaling group is in cooldown.
| |
| PolicyName |
The name or PolicyARN of the policy you want to run.
Constraints: | |
| ToString()()()() | (Inherited from Object.) | |
| WithAutoScalingGroupName(String) |
Sets the AutoScalingGroupName property
| |
| WithHonorCooldown(Boolean) |
Sets the HonorCooldown property
| |
| WithPolicyName(String) |
Sets the PolicyName property
|
Inheritance Hierarchy
System..::..Object
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.AutoScaling.Model..::..ExecutePolicyRequest
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.AutoScaling.Model..::..ExecutePolicyRequest