AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.ComputeOptimizerAutomation.Model.AutomationRule

Namespace: Amazon.ComputeOptimizerAutomation.Model
Assembly: AWSSDK.ComputeOptimizerAutomation.dll
Version: 3.x.y.z

Syntax

C#
public class AutomationRule

The AutomationRule type exposes the following members

Constructors

NameDescription
Public Method AutomationRule()

Properties

NameTypeDescription
Public Property AccountId System.String

Gets and sets the property AccountId.

The 12-digit Amazon Web Services account ID that owns this automation rule.

Public Property CreatedTimestamp System.DateTime

Gets and sets the property CreatedTimestamp.

The timestamp when the automation rule was created.

Public Property Description System.String

Gets and sets the property Description.

A description of the automation rule.

Public Property LastUpdatedTimestamp System.DateTime

Gets and sets the property LastUpdatedTimestamp.

The timestamp when the automation rule was last updated.

Public Property Name System.String

Gets and sets the property Name.

The name of the automation rule.

Public Property OrganizationConfiguration Amazon.ComputeOptimizerAutomation.Model.OrganizationConfiguration

Gets and sets the property OrganizationConfiguration.

Configuration settings for organization-wide rules.

Public Property 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.

Public Property RecommendedActionTypes System.Collections.Generic.List<System.String>

Gets and sets the property RecommendedActionTypes.

List of recommended action types that this rule can execute.

Public Property RuleArn System.String

Gets and sets the property RuleArn.

The Amazon Resource Name (ARN) of the automation rule.

Public Property RuleId System.String

Gets and sets the property RuleId.

The unique identifier of the automation rule.

Public Property RuleRevision System.Int64

Gets and sets the property RuleRevision.

The revision number of the automation rule.

Public Property RuleType Amazon.ComputeOptimizerAutomation.RuleType

Gets and sets the property RuleType.

The type of automation rule (OrganizationRule or AccountRule).

Public Property Schedule Amazon.ComputeOptimizerAutomation.Model.Schedule

Gets and sets the property Schedule.

The schedule configuration for when the automation rule should execute.

Public Property Status Amazon.ComputeOptimizerAutomation.RuleStatus

Gets and sets the property Status.

The current status of the automation rule (Active or Inactive).

Version Information

.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