import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; 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 class AutomationRule extends pulumi.CustomResource { /** * Get an existing AutomationRule resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): AutomationRule; /** * Returns true if the given object is an instance of AutomationRule. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AutomationRule; /** * The AWS account ID that owns the automation rule. */ readonly accountId: pulumi.Output; /** * The timestamp when the automation rule was created. */ readonly createdTimestamp: pulumi.Output; /** * Filter criteria that specify which recommended actions qualify for implementation. */ readonly criteria: pulumi.Output; /** * The description of the automation rule. */ readonly description: pulumi.Output; /** * The timestamp when the automation rule was last updated. */ readonly lastUpdatedTimestamp: pulumi.Output; /** * The name of the automation rule. */ readonly name: pulumi.Output; /** * Organization configuration for organization rules, including rule apply order and account scope. */ readonly organizationConfiguration: pulumi.Output; /** * Rule priority within its group */ readonly priority: pulumi.Output; /** * The types of recommended actions this rule will implement. */ readonly recommendedActionTypes: pulumi.Output; /** * The Amazon Resource Name (ARN) of the automation rule. */ readonly ruleArn: pulumi.Output; /** * The unique identifier of the automation rule. */ readonly ruleId: pulumi.Output; /** * The revision number of the automation rule. */ readonly ruleRevision: pulumi.Output; /** * The type of automation rule. */ readonly ruleType: pulumi.Output; /** * The schedule configuration for when the rule runs. */ readonly schedule: pulumi.Output; /** * The status of the automation rule. */ readonly status: pulumi.Output; /** * Tags associated with the automation rule. */ readonly tags: pulumi.Output; /** * Create a AutomationRule resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AutomationRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AutomationRule resource. */ export interface AutomationRuleArgs { /** * Filter criteria that specify which recommended actions qualify for implementation. */ criteria?: pulumi.Input; /** * The description of the automation rule. */ description?: pulumi.Input; /** * The name of the automation rule. */ name?: pulumi.Input; /** * Organization configuration for organization rules, including rule apply order and account scope. */ organizationConfiguration?: pulumi.Input; /** * Rule priority within its group */ priority?: pulumi.Input; /** * The types of recommended actions this rule will implement. */ recommendedActionTypes: pulumi.Input[]>; /** * The type of automation rule. */ ruleType: pulumi.Input; /** * The schedule configuration for when the rule runs. */ schedule: pulumi.Input; /** * The status of the automation rule. */ status: pulumi.Input; /** * Tags associated with the automation rule. */ tags?: pulumi.Input[]>; }