---
type: resource-type
title: ComputeOptimizerAutomationRule
description: aws resource type AWS::ComputeOptimizer::AutomationRule
name: ComputeOptimizerAutomationRule
lexicon: aws
resource_type: AWS::ComputeOptimizer::AutomationRule
---
`AWS::ComputeOptimizer::AutomationRule`, a resource type of the aws lexicon.

## Properties

- `Name` (`string`, required): The name of the automation rule.
- `RecommendedActionTypes` (`"SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType"[]`, required): The types of recommended actions this rule will implement.
- `RuleType` (`"AccountRule" | "OrganizationRule"`, required): The type of automation rule.
- `Schedule` (`ComputeOptimizerAutomationRule_Schedule`, required): The schedule configuration for when the rule runs.
- `Status` (`"Active" | "Inactive"`, required): The status of the automation rule.
- `AccountId` (`string`, optional): The AWS account ID that owns the automation rule.
- `CreatedTimestamp` (`string`, optional): The timestamp when the automation rule was created.
- `Criteria` (`ComputeOptimizerAutomationRule_Criteria`, optional): Filter criteria that specify which recommended actions qualify for implementation.
- `Description` (`string`, optional): The description of the automation rule.
- `LastUpdatedTimestamp` (`string`, optional): The timestamp when the automation rule was last updated.
- `OrganizationConfiguration` (`ComputeOptimizerAutomationRule_OrganizationConfiguration`, optional): Organization configuration for organization rules, including rule apply order and account scope.
- `Priority` (`string`, optional): Rule priority within its group
- `RuleArn` (`string`, optional): The Amazon Resource Name (ARN) of the automation rule.
- `RuleId` (`string`, optional): The unique identifier of the automation rule.
- `RuleRevision` (`string`, optional): The revision number of the automation rule.
- `Tags` (`ComputeOptimizerAutomationRule_Tag[]`, optional): Tags associated with the automation rule.

## Attributes

- `AccountId`
- `CreatedTimestamp`
- `LastUpdatedTimestamp`
- `RuleArn`
- `RuleId`
- `RuleRevision`
