AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents a complete automation rule configuration including criteria, schedule, and execution settings.
Namespace: Amazon.ComputeOptimizerAutomation.Model
Assembly: AWSSDK.ComputeOptimizerAutomation.dll
Version: 3.x.y.z
public class AutomationRule
The AutomationRule type exposes the following members
| Name | Description | |
|---|---|---|
|
AutomationRule() |
| Name | Type | Description | |
|---|---|---|---|
|
AccountId | System.String |
Gets and sets the property AccountId. The 12-digit Amazon Web Services account ID that owns this automation rule. |
|
CreatedTimestamp | System.DateTime |
Gets and sets the property CreatedTimestamp. The timestamp when the automation rule was created. |
|
Description | System.String |
Gets and sets the property Description. A description of the automation rule. |
|
LastUpdatedTimestamp | System.DateTime |
Gets and sets the property LastUpdatedTimestamp. The timestamp when the automation rule was last updated. |
|
Name | System.String |
Gets and sets the property Name. The name of the automation rule. |
|
OrganizationConfiguration | Amazon.ComputeOptimizerAutomation.Model.OrganizationConfiguration |
Gets and sets the property OrganizationConfiguration. Configuration settings for organization-wide rules. |
|
Priority | System.String |
Gets and sets the property Priority. A string representation of a decimal number between 0 and 1 (having up to 30 digits after the decimal point) that determines the priority of the rule. When multiple rules match the same recommended action, Compute Optimizer assigns the action to the rule with the lowest priority value (highest priority), even if that rule is scheduled to run later than other matching rules. |
|
RecommendedActionTypes | System.Collections.Generic.List<System.String> |
Gets and sets the property RecommendedActionTypes. List of recommended action types that this rule can execute. |
|
RuleArn | System.String |
Gets and sets the property RuleArn. The Amazon Resource Name (ARN) of the automation rule. |
|
RuleId | System.String |
Gets and sets the property RuleId. The unique identifier of the automation rule. |
|
RuleRevision | System.Int64 |
Gets and sets the property RuleRevision. The revision number of the automation rule. |
|
RuleType | Amazon.ComputeOptimizerAutomation.RuleType |
Gets and sets the property RuleType. The type of automation rule (OrganizationRule or AccountRule). |
|
Schedule | Amazon.ComputeOptimizerAutomation.Model.Schedule |
Gets and sets the property Schedule. The schedule configuration for when the automation rule should execute. |
|
Status | Amazon.ComputeOptimizerAutomation.RuleStatus |
Gets and sets the property Status. The current status of the automation rule (Active or Inactive). |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5