import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Creates an AWS Compute Optimizer automation rule that automatically implements recommended actions based on your defined criteria and schedule. Automation rules are global resources that manage automated actions across all AWS Regions where Compute Optimizer Automation is available. Organization-level rules can only be created by the management account or delegated administrator. */ export declare function getAutomationRule(args: GetAutomationRuleArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetAutomationRuleArgs { /** * The Amazon Resource Name (ARN) of the automation rule. */ ruleArn: string; } export interface GetAutomationRuleResult { /** * The AWS account ID that owns the automation rule. */ readonly accountId?: string; /** * The timestamp when the automation rule was created. */ readonly createdTimestamp?: string; /** * Filter criteria that specify which recommended actions qualify for implementation. */ readonly criteria?: outputs.computeoptimizer.AutomationRuleCriteria; /** * The description of the automation rule. */ readonly description?: string; /** * The timestamp when the automation rule was last updated. */ readonly lastUpdatedTimestamp?: string; /** * The name of the automation rule. */ readonly name?: string; /** * Organization configuration for organization rules, including rule apply order and account scope. */ readonly organizationConfiguration?: outputs.computeoptimizer.AutomationRuleOrganizationConfiguration; /** * Rule priority within its group */ readonly priority?: string; /** * The types of recommended actions this rule will implement. */ readonly recommendedActionTypes?: enums.computeoptimizer.AutomationRuleRecommendedActionTypesItem[]; /** * The Amazon Resource Name (ARN) of the automation rule. */ readonly ruleArn?: string; /** * The unique identifier of the automation rule. */ readonly ruleId?: string; /** * The revision number of the automation rule. */ readonly ruleRevision?: string; /** * The type of automation rule. */ readonly ruleType?: enums.computeoptimizer.AutomationRuleRuleType; /** * The schedule configuration for when the rule runs. */ readonly schedule?: outputs.computeoptimizer.AutomationRuleSchedule; /** * The status of the automation rule. */ readonly status?: enums.computeoptimizer.AutomationRuleStatus; /** * Tags associated with the automation rule. */ readonly tags?: outputs.Tag[]; } /** * Creates an AWS Compute Optimizer automation rule that automatically implements recommended actions based on your defined criteria and schedule. Automation rules are global resources that manage automated actions across all AWS Regions where Compute Optimizer Automation is available. Organization-level rules can only be created by the management account or delegated administrator. */ export declare function getAutomationRuleOutput(args: GetAutomationRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetAutomationRuleOutputArgs { /** * The Amazon Resource Name (ARN) of the automation rule. */ ruleArn: pulumi.Input; }