1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. computeoptimizer
  6. AutomationRule

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.85.0
published on Monday, Nov 2, 2026 by Pulumi

    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.

    Create AutomationRule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AutomationRule(name: string, args: AutomationRuleArgs, opts?: CustomResourceOptions);
    @overload
    def AutomationRule(resource_name: str,
                       args: AutomationRuleArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def AutomationRule(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       recommended_action_types: Optional[Sequence[AutomationRuleRecommendedActionTypesItem]] = None,
                       rule_type: Optional[AutomationRuleRuleType] = None,
                       schedule: Optional[AutomationRuleScheduleArgs] = None,
                       status: Optional[AutomationRuleStatus] = None,
                       criteria: Optional[AutomationRuleCriteriaArgs] = None,
                       description: Optional[str] = None,
                       name: Optional[str] = None,
                       organization_configuration: Optional[AutomationRuleOrganizationConfigurationArgs] = None,
                       priority: Optional[str] = None,
                       tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewAutomationRule(ctx *Context, name string, args AutomationRuleArgs, opts ...ResourceOption) (*AutomationRule, error)
    public AutomationRule(string name, AutomationRuleArgs args, CustomResourceOptions? opts = null)
    public AutomationRule(String name, AutomationRuleArgs args)
    public AutomationRule(String name, AutomationRuleArgs args, CustomResourceOptions options)
    
    type: aws-native:computeoptimizer:AutomationRule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_computeoptimizer_automation_rule" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AutomationRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AutomationRuleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AutomationRuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutomationRuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutomationRuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AutomationRule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AutomationRule resource accepts the following input properties:

    RecommendedActionTypes List<Pulumi.AwsNative.ComputeOptimizer.AutomationRuleRecommendedActionTypesItem>
    The types of recommended actions this rule will implement.
    RuleType Pulumi.AwsNative.ComputeOptimizer.AutomationRuleRuleType
    The type of automation rule.
    Schedule Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleSchedule
    The schedule configuration for when the rule runs.
    Status Pulumi.AwsNative.ComputeOptimizer.AutomationRuleStatus
    The status of the automation rule.
    Criteria Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleCriteria
    Filter criteria that specify which recommended actions qualify for implementation.
    Description string
    The description of the automation rule.
    Name string
    The name of the automation rule.
    OrganizationConfiguration Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleOrganizationConfiguration
    Organization configuration for organization rules, including rule apply order and account scope.
    Priority string
    Rule priority within its group
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags associated with the automation rule.
    RecommendedActionTypes []AutomationRuleRecommendedActionTypesItem
    The types of recommended actions this rule will implement.
    RuleType AutomationRuleRuleType
    The type of automation rule.
    Schedule AutomationRuleScheduleArgs
    The schedule configuration for when the rule runs.
    Status AutomationRuleStatus
    The status of the automation rule.
    Criteria AutomationRuleCriteriaArgs
    Filter criteria that specify which recommended actions qualify for implementation.
    Description string
    The description of the automation rule.
    Name string
    The name of the automation rule.
    OrganizationConfiguration AutomationRuleOrganizationConfigurationArgs
    Organization configuration for organization rules, including rule apply order and account scope.
    Priority string
    Rule priority within its group
    Tags TagArgs
    Tags associated with the automation rule.
    recommended_action_types list("SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType")
    The types of recommended actions this rule will implement.
    rule_type "AccountRule" | "OrganizationRule"
    The type of automation rule.
    schedule object
    The schedule configuration for when the rule runs.
    status "Active" | "Inactive"
    The status of the automation rule.
    criteria object
    Filter criteria that specify which recommended actions qualify for implementation.
    description string
    The description of the automation rule.
    name string
    The name of the automation rule.
    organization_configuration object
    Organization configuration for organization rules, including rule apply order and account scope.
    priority string
    Rule priority within its group
    tags list(object)
    Tags associated with the automation rule.
    recommendedActionTypes List<AutomationRuleRecommendedActionTypesItem>
    The types of recommended actions this rule will implement.
    ruleType AutomationRuleRuleType
    The type of automation rule.
    schedule AutomationRuleSchedule
    The schedule configuration for when the rule runs.
    status AutomationRuleStatus
    The status of the automation rule.
    criteria AutomationRuleCriteria
    Filter criteria that specify which recommended actions qualify for implementation.
    description String
    The description of the automation rule.
    name String
    The name of the automation rule.
    organizationConfiguration AutomationRuleOrganizationConfiguration
    Organization configuration for organization rules, including rule apply order and account scope.
    priority String
    Rule priority within its group
    tags List<Tag>
    Tags associated with the automation rule.
    recommendedActionTypes AutomationRuleRecommendedActionTypesItem[]
    The types of recommended actions this rule will implement.
    ruleType AutomationRuleRuleType
    The type of automation rule.
    schedule AutomationRuleSchedule
    The schedule configuration for when the rule runs.
    status AutomationRuleStatus
    The status of the automation rule.
    criteria AutomationRuleCriteria
    Filter criteria that specify which recommended actions qualify for implementation.
    description string
    The description of the automation rule.
    name string
    The name of the automation rule.
    organizationConfiguration AutomationRuleOrganizationConfiguration
    Organization configuration for organization rules, including rule apply order and account scope.
    priority string
    Rule priority within its group
    tags Tag[]
    Tags associated with the automation rule.
    recommended_action_types Sequence[AutomationRuleRecommendedActionTypesItem]
    The types of recommended actions this rule will implement.
    rule_type AutomationRuleRuleType
    The type of automation rule.
    schedule AutomationRuleScheduleArgs
    The schedule configuration for when the rule runs.
    status AutomationRuleStatus
    The status of the automation rule.
    criteria AutomationRuleCriteriaArgs
    Filter criteria that specify which recommended actions qualify for implementation.
    description str
    The description of the automation rule.
    name str
    The name of the automation rule.
    organization_configuration AutomationRuleOrganizationConfigurationArgs
    Organization configuration for organization rules, including rule apply order and account scope.
    priority str
    Rule priority within its group
    tags Sequence[TagArgs]
    Tags associated with the automation rule.
    recommendedActionTypes List<"SnapshotAndDeleteUnattachedEbsVolume" | "UpgradeEbsVolumeType">
    The types of recommended actions this rule will implement.
    ruleType "AccountRule" | "OrganizationRule"
    The type of automation rule.
    schedule Property Map
    The schedule configuration for when the rule runs.
    status "Active" | "Inactive"
    The status of the automation rule.
    criteria Property Map
    Filter criteria that specify which recommended actions qualify for implementation.
    description String
    The description of the automation rule.
    name String
    The name of the automation rule.
    organizationConfiguration Property Map
    Organization configuration for organization rules, including rule apply order and account scope.
    priority String
    Rule priority within its group
    tags List<Property Map>
    Tags associated with the automation rule.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AutomationRule resource produces the following output properties:

    AccountId string
    The AWS account ID that owns the automation rule.
    CreatedTimestamp string
    The timestamp when the automation rule was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTimestamp string
    The timestamp when the automation rule was last updated.
    RuleArn string
    The Amazon Resource Name (ARN) of the automation rule.
    RuleId string
    The unique identifier of the automation rule.
    RuleRevision string
    The revision number of the automation rule.
    AccountId string
    The AWS account ID that owns the automation rule.
    CreatedTimestamp string
    The timestamp when the automation rule was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastUpdatedTimestamp string
    The timestamp when the automation rule was last updated.
    RuleArn string
    The Amazon Resource Name (ARN) of the automation rule.
    RuleId string
    The unique identifier of the automation rule.
    RuleRevision string
    The revision number of the automation rule.
    account_id string
    The AWS account ID that owns the automation rule.
    created_timestamp string
    The timestamp when the automation rule was created.
    id string
    The provider-assigned unique ID for this managed resource.
    last_updated_timestamp string
    The timestamp when the automation rule was last updated.
    rule_arn string
    The Amazon Resource Name (ARN) of the automation rule.
    rule_id string
    The unique identifier of the automation rule.
    rule_revision string
    The revision number of the automation rule.
    accountId String
    The AWS account ID that owns the automation rule.
    createdTimestamp String
    The timestamp when the automation rule was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTimestamp String
    The timestamp when the automation rule was last updated.
    ruleArn String
    The Amazon Resource Name (ARN) of the automation rule.
    ruleId String
    The unique identifier of the automation rule.
    ruleRevision String
    The revision number of the automation rule.
    accountId string
    The AWS account ID that owns the automation rule.
    createdTimestamp string
    The timestamp when the automation rule was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTimestamp string
    The timestamp when the automation rule was last updated.
    ruleArn string
    The Amazon Resource Name (ARN) of the automation rule.
    ruleId string
    The unique identifier of the automation rule.
    ruleRevision string
    The revision number of the automation rule.
    account_id str
    The AWS account ID that owns the automation rule.
    created_timestamp str
    The timestamp when the automation rule was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_updated_timestamp str
    The timestamp when the automation rule was last updated.
    rule_arn str
    The Amazon Resource Name (ARN) of the automation rule.
    rule_id str
    The unique identifier of the automation rule.
    rule_revision str
    The revision number of the automation rule.
    accountId String
    The AWS account ID that owns the automation rule.
    createdTimestamp String
    The timestamp when the automation rule was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastUpdatedTimestamp String
    The timestamp when the automation rule was last updated.
    ruleArn String
    The Amazon Resource Name (ARN) of the automation rule.
    ruleId String
    The unique identifier of the automation rule.
    ruleRevision String
    The revision number of the automation rule.

    Look up Existing AutomationRule Resource

    Get an existing AutomationRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): AutomationRule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> AutomationRule
    func GetAutomationRule(ctx *Context, name string, id IDInput, state *AutomationRuleState, opts ...ResourceOption) (*AutomationRule, error)
    public static AutomationRule Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static AutomationRule get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingAutomationRule:    type: aws-native:computeoptimizer:AutomationRule    get:      id: ${id}
    import {
      to = aws-native_computeoptimizer_automation_rule.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state AutomationRuleState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    AutomationRuleCriteria, AutomationRuleCriteriaArgs

    EbsVolumeSizeInGib List<Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleIntegerCriteriaCondition>
    EbsVolumeType List<Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleStringCriteriaCondition>
    EstimatedMonthlySavings List<Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleDoubleCriteriaCondition>
    LookBackPeriodInDays List<Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleIntegerCriteriaCondition>
    Region List<Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleStringCriteriaCondition>
    ResourceArn List<Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleStringCriteriaCondition>
    ResourceTag List<Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleResourceTagsCriteriaCondition>
    RestartNeeded List<Pulumi.AwsNative.ComputeOptimizer.Inputs.AutomationRuleStringCriteriaCondition>

    AutomationRuleDoubleCriteriaCondition, AutomationRuleDoubleCriteriaConditionArgs

    AutomationRuleDoubleCriteriaConditionComparison, AutomationRuleDoubleCriteriaConditionComparisonArgs

    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    AutomationRuleDoubleCriteriaConditionComparisonStringEqualsStringEquals
    AutomationRuleDoubleCriteriaConditionComparisonStringNotEqualsStringNotEquals
    AutomationRuleDoubleCriteriaConditionComparisonStringEqualsIgnoreCaseStringEqualsIgnoreCase
    AutomationRuleDoubleCriteriaConditionComparisonStringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    AutomationRuleDoubleCriteriaConditionComparisonStringLikeStringLike
    AutomationRuleDoubleCriteriaConditionComparisonStringNotLikeStringNotLike
    AutomationRuleDoubleCriteriaConditionComparisonNumericEqualsNumericEquals
    AutomationRuleDoubleCriteriaConditionComparisonNumericNotEqualsNumericNotEquals
    AutomationRuleDoubleCriteriaConditionComparisonNumericLessThanNumericLessThan
    AutomationRuleDoubleCriteriaConditionComparisonNumericLessThanEqualsNumericLessThanEquals
    AutomationRuleDoubleCriteriaConditionComparisonNumericGreaterThanNumericGreaterThan
    AutomationRuleDoubleCriteriaConditionComparisonNumericGreaterThanEqualsNumericGreaterThanEquals
    Value
    StringEquals
    StringNotEquals
    StringEqualsIgnoreCase
    StringNotEqualsIgnoreCase
    StringLike
    StringNotLike
    NumericEquals
    NumericNotEquals
    NumericLessThan
    NumericLessThanEquals
    NumericGreaterThan
    NumericGreaterThanEquals
    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    STRING_EQUALSStringEquals
    STRING_NOT_EQUALSStringNotEquals
    STRING_EQUALS_IGNORE_CASEStringEqualsIgnoreCase
    STRING_NOT_EQUALS_IGNORE_CASEStringNotEqualsIgnoreCase
    STRING_LIKEStringLike
    STRING_NOT_LIKEStringNotLike
    NUMERIC_EQUALSNumericEquals
    NUMERIC_NOT_EQUALSNumericNotEquals
    NUMERIC_LESS_THANNumericLessThan
    NUMERIC_LESS_THAN_EQUALSNumericLessThanEquals
    NUMERIC_GREATER_THANNumericGreaterThan
    NUMERIC_GREATER_THAN_EQUALSNumericGreaterThanEquals
    Value
    StringEquals
    StringNotEquals
    StringEqualsIgnoreCase
    StringNotEqualsIgnoreCase
    StringLike
    StringNotLike
    NumericEquals
    NumericNotEquals
    NumericLessThan
    NumericLessThanEquals
    NumericGreaterThan
    NumericGreaterThanEquals

    AutomationRuleIntegerCriteriaCondition, AutomationRuleIntegerCriteriaConditionArgs

    AutomationRuleIntegerCriteriaConditionComparison, AutomationRuleIntegerCriteriaConditionComparisonArgs

    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    AutomationRuleIntegerCriteriaConditionComparisonStringEqualsStringEquals
    AutomationRuleIntegerCriteriaConditionComparisonStringNotEqualsStringNotEquals
    AutomationRuleIntegerCriteriaConditionComparisonStringEqualsIgnoreCaseStringEqualsIgnoreCase
    AutomationRuleIntegerCriteriaConditionComparisonStringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    AutomationRuleIntegerCriteriaConditionComparisonStringLikeStringLike
    AutomationRuleIntegerCriteriaConditionComparisonStringNotLikeStringNotLike
    AutomationRuleIntegerCriteriaConditionComparisonNumericEqualsNumericEquals
    AutomationRuleIntegerCriteriaConditionComparisonNumericNotEqualsNumericNotEquals
    AutomationRuleIntegerCriteriaConditionComparisonNumericLessThanNumericLessThan
    AutomationRuleIntegerCriteriaConditionComparisonNumericLessThanEqualsNumericLessThanEquals
    AutomationRuleIntegerCriteriaConditionComparisonNumericGreaterThanNumericGreaterThan
    AutomationRuleIntegerCriteriaConditionComparisonNumericGreaterThanEqualsNumericGreaterThanEquals
    Value
    StringEquals
    StringNotEquals
    StringEqualsIgnoreCase
    StringNotEqualsIgnoreCase
    StringLike
    StringNotLike
    NumericEquals
    NumericNotEquals
    NumericLessThan
    NumericLessThanEquals
    NumericGreaterThan
    NumericGreaterThanEquals
    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    STRING_EQUALSStringEquals
    STRING_NOT_EQUALSStringNotEquals
    STRING_EQUALS_IGNORE_CASEStringEqualsIgnoreCase
    STRING_NOT_EQUALS_IGNORE_CASEStringNotEqualsIgnoreCase
    STRING_LIKEStringLike
    STRING_NOT_LIKEStringNotLike
    NUMERIC_EQUALSNumericEquals
    NUMERIC_NOT_EQUALSNumericNotEquals
    NUMERIC_LESS_THANNumericLessThan
    NUMERIC_LESS_THAN_EQUALSNumericLessThanEquals
    NUMERIC_GREATER_THANNumericGreaterThan
    NUMERIC_GREATER_THAN_EQUALSNumericGreaterThanEquals
    Value
    StringEquals
    StringNotEquals
    StringEqualsIgnoreCase
    StringNotEqualsIgnoreCase
    StringLike
    StringNotLike
    NumericEquals
    NumericNotEquals
    NumericLessThan
    NumericLessThanEquals
    NumericGreaterThan
    NumericGreaterThanEquals

    AutomationRuleOrganizationConfiguration, AutomationRuleOrganizationConfigurationArgs

    AccountIds List<string>
    List of account IDs where the organization rule applies
    RuleApplyOrder Pulumi.AwsNative.ComputeOptimizer.AutomationRuleOrganizationConfigurationRuleApplyOrder
    When the rule should be applied relative to account rules
    AccountIds []string
    List of account IDs where the organization rule applies
    RuleApplyOrder AutomationRuleOrganizationConfigurationRuleApplyOrder
    When the rule should be applied relative to account rules
    account_ids list(string)
    List of account IDs where the organization rule applies
    rule_apply_order "BeforeAccountRules" | "AfterAccountRules"
    When the rule should be applied relative to account rules
    accountIds List<String>
    List of account IDs where the organization rule applies
    ruleApplyOrder AutomationRuleOrganizationConfigurationRuleApplyOrder
    When the rule should be applied relative to account rules
    accountIds string[]
    List of account IDs where the organization rule applies
    ruleApplyOrder AutomationRuleOrganizationConfigurationRuleApplyOrder
    When the rule should be applied relative to account rules
    account_ids Sequence[str]
    List of account IDs where the organization rule applies
    rule_apply_order AutomationRuleOrganizationConfigurationRuleApplyOrder
    When the rule should be applied relative to account rules
    accountIds List<String>
    List of account IDs where the organization rule applies
    ruleApplyOrder "BeforeAccountRules" | "AfterAccountRules"
    When the rule should be applied relative to account rules

    AutomationRuleOrganizationConfigurationRuleApplyOrder, AutomationRuleOrganizationConfigurationRuleApplyOrderArgs

    When the rule should be applied relative to account rules
    NameValue
    BeforeAccountRulesBeforeAccountRules
    AfterAccountRulesAfterAccountRules
    NameValue
    AutomationRuleOrganizationConfigurationRuleApplyOrderBeforeAccountRulesBeforeAccountRules
    AutomationRuleOrganizationConfigurationRuleApplyOrderAfterAccountRulesAfterAccountRules
    Value
    BeforeAccountRules
    AfterAccountRules
    NameValue
    BeforeAccountRulesBeforeAccountRules
    AfterAccountRulesAfterAccountRules
    NameValue
    BeforeAccountRulesBeforeAccountRules
    AfterAccountRulesAfterAccountRules
    NameValue
    BEFORE_ACCOUNT_RULESBeforeAccountRules
    AFTER_ACCOUNT_RULESAfterAccountRules
    Value
    BeforeAccountRules
    AfterAccountRules

    AutomationRuleRecommendedActionTypesItem, AutomationRuleRecommendedActionTypesItemArgs

    NameValue
    SnapshotAndDeleteUnattachedEbsVolumeSnapshotAndDeleteUnattachedEbsVolume
    UpgradeEbsVolumeTypeUpgradeEbsVolumeType
    NameValue
    AutomationRuleRecommendedActionTypesItemSnapshotAndDeleteUnattachedEbsVolumeSnapshotAndDeleteUnattachedEbsVolume
    AutomationRuleRecommendedActionTypesItemUpgradeEbsVolumeTypeUpgradeEbsVolumeType
    Value
    SnapshotAndDeleteUnattachedEbsVolume
    UpgradeEbsVolumeType
    NameValue
    SnapshotAndDeleteUnattachedEbsVolumeSnapshotAndDeleteUnattachedEbsVolume
    UpgradeEbsVolumeTypeUpgradeEbsVolumeType
    NameValue
    SnapshotAndDeleteUnattachedEbsVolumeSnapshotAndDeleteUnattachedEbsVolume
    UpgradeEbsVolumeTypeUpgradeEbsVolumeType
    NameValue
    SNAPSHOT_AND_DELETE_UNATTACHED_EBS_VOLUMESnapshotAndDeleteUnattachedEbsVolume
    UPGRADE_EBS_VOLUME_TYPEUpgradeEbsVolumeType
    Value
    SnapshotAndDeleteUnattachedEbsVolume
    UpgradeEbsVolumeType

    AutomationRuleResourceTagsCriteriaCondition, AutomationRuleResourceTagsCriteriaConditionArgs

    AutomationRuleResourceTagsCriteriaConditionComparison, AutomationRuleResourceTagsCriteriaConditionComparisonArgs

    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    AutomationRuleResourceTagsCriteriaConditionComparisonStringEqualsStringEquals
    AutomationRuleResourceTagsCriteriaConditionComparisonStringNotEqualsStringNotEquals
    AutomationRuleResourceTagsCriteriaConditionComparisonStringEqualsIgnoreCaseStringEqualsIgnoreCase
    AutomationRuleResourceTagsCriteriaConditionComparisonStringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    AutomationRuleResourceTagsCriteriaConditionComparisonStringLikeStringLike
    AutomationRuleResourceTagsCriteriaConditionComparisonStringNotLikeStringNotLike
    AutomationRuleResourceTagsCriteriaConditionComparisonNumericEqualsNumericEquals
    AutomationRuleResourceTagsCriteriaConditionComparisonNumericNotEqualsNumericNotEquals
    AutomationRuleResourceTagsCriteriaConditionComparisonNumericLessThanNumericLessThan
    AutomationRuleResourceTagsCriteriaConditionComparisonNumericLessThanEqualsNumericLessThanEquals
    AutomationRuleResourceTagsCriteriaConditionComparisonNumericGreaterThanNumericGreaterThan
    AutomationRuleResourceTagsCriteriaConditionComparisonNumericGreaterThanEqualsNumericGreaterThanEquals
    Value
    StringEquals
    StringNotEquals
    StringEqualsIgnoreCase
    StringNotEqualsIgnoreCase
    StringLike
    StringNotLike
    NumericEquals
    NumericNotEquals
    NumericLessThan
    NumericLessThanEquals
    NumericGreaterThan
    NumericGreaterThanEquals
    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    STRING_EQUALSStringEquals
    STRING_NOT_EQUALSStringNotEquals
    STRING_EQUALS_IGNORE_CASEStringEqualsIgnoreCase
    STRING_NOT_EQUALS_IGNORE_CASEStringNotEqualsIgnoreCase
    STRING_LIKEStringLike
    STRING_NOT_LIKEStringNotLike
    NUMERIC_EQUALSNumericEquals
    NUMERIC_NOT_EQUALSNumericNotEquals
    NUMERIC_LESS_THANNumericLessThan
    NUMERIC_LESS_THAN_EQUALSNumericLessThanEquals
    NUMERIC_GREATER_THANNumericGreaterThan
    NUMERIC_GREATER_THAN_EQUALSNumericGreaterThanEquals
    Value
    StringEquals
    StringNotEquals
    StringEqualsIgnoreCase
    StringNotEqualsIgnoreCase
    StringLike
    StringNotLike
    NumericEquals
    NumericNotEquals
    NumericLessThan
    NumericLessThanEquals
    NumericGreaterThan
    NumericGreaterThanEquals

    AutomationRuleRuleType, AutomationRuleRuleTypeArgs

    The type of automation rule.
    NameValue
    AccountRuleAccountRule
    OrganizationRuleOrganizationRule
    NameValue
    AutomationRuleRuleTypeAccountRuleAccountRule
    AutomationRuleRuleTypeOrganizationRuleOrganizationRule
    Value
    AccountRule
    OrganizationRule
    NameValue
    AccountRuleAccountRule
    OrganizationRuleOrganizationRule
    NameValue
    AccountRuleAccountRule
    OrganizationRuleOrganizationRule
    NameValue
    ACCOUNT_RULEAccountRule
    ORGANIZATION_RULEOrganizationRule
    Value
    AccountRule
    OrganizationRule

    AutomationRuleSchedule, AutomationRuleScheduleArgs

    ExecutionWindowInMinutes int
    Execution window duration in minutes
    ScheduleExpression string
    Schedule expression (e.g., cron or rate expression)
    ScheduleExpressionTimezone string
    IANA timezone identifier
    ExecutionWindowInMinutes int
    Execution window duration in minutes
    ScheduleExpression string
    Schedule expression (e.g., cron or rate expression)
    ScheduleExpressionTimezone string
    IANA timezone identifier
    execution_window_in_minutes number
    Execution window duration in minutes
    schedule_expression string
    Schedule expression (e.g., cron or rate expression)
    schedule_expression_timezone string
    IANA timezone identifier
    executionWindowInMinutes Integer
    Execution window duration in minutes
    scheduleExpression String
    Schedule expression (e.g., cron or rate expression)
    scheduleExpressionTimezone String
    IANA timezone identifier
    executionWindowInMinutes number
    Execution window duration in minutes
    scheduleExpression string
    Schedule expression (e.g., cron or rate expression)
    scheduleExpressionTimezone string
    IANA timezone identifier
    execution_window_in_minutes int
    Execution window duration in minutes
    schedule_expression str
    Schedule expression (e.g., cron or rate expression)
    schedule_expression_timezone str
    IANA timezone identifier
    executionWindowInMinutes Number
    Execution window duration in minutes
    scheduleExpression String
    Schedule expression (e.g., cron or rate expression)
    scheduleExpressionTimezone String
    IANA timezone identifier

    AutomationRuleStatus, AutomationRuleStatusArgs

    The status of the automation rule.
    NameValue
    ActiveActive
    InactiveInactive
    NameValue
    AutomationRuleStatusActiveActive
    AutomationRuleStatusInactiveInactive
    Value
    Active
    Inactive
    NameValue
    ActiveActive
    InactiveInactive
    NameValue
    ActiveActive
    InactiveInactive
    NameValue
    ACTIVEActive
    INACTIVEInactive
    Value
    Active
    Inactive

    AutomationRuleStringCriteriaCondition, AutomationRuleStringCriteriaConditionArgs

    AutomationRuleStringCriteriaConditionComparison, AutomationRuleStringCriteriaConditionComparisonArgs

    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    AutomationRuleStringCriteriaConditionComparisonStringEqualsStringEquals
    AutomationRuleStringCriteriaConditionComparisonStringNotEqualsStringNotEquals
    AutomationRuleStringCriteriaConditionComparisonStringEqualsIgnoreCaseStringEqualsIgnoreCase
    AutomationRuleStringCriteriaConditionComparisonStringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    AutomationRuleStringCriteriaConditionComparisonStringLikeStringLike
    AutomationRuleStringCriteriaConditionComparisonStringNotLikeStringNotLike
    AutomationRuleStringCriteriaConditionComparisonNumericEqualsNumericEquals
    AutomationRuleStringCriteriaConditionComparisonNumericNotEqualsNumericNotEquals
    AutomationRuleStringCriteriaConditionComparisonNumericLessThanNumericLessThan
    AutomationRuleStringCriteriaConditionComparisonNumericLessThanEqualsNumericLessThanEquals
    AutomationRuleStringCriteriaConditionComparisonNumericGreaterThanNumericGreaterThan
    AutomationRuleStringCriteriaConditionComparisonNumericGreaterThanEqualsNumericGreaterThanEquals
    Value
    StringEquals
    StringNotEquals
    StringEqualsIgnoreCase
    StringNotEqualsIgnoreCase
    StringLike
    StringNotLike
    NumericEquals
    NumericNotEquals
    NumericLessThan
    NumericLessThanEquals
    NumericGreaterThan
    NumericGreaterThanEquals
    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    StringEqualsStringEquals
    StringNotEqualsStringNotEquals
    StringEqualsIgnoreCaseStringEqualsIgnoreCase
    StringNotEqualsIgnoreCaseStringNotEqualsIgnoreCase
    StringLikeStringLike
    StringNotLikeStringNotLike
    NumericEqualsNumericEquals
    NumericNotEqualsNumericNotEquals
    NumericLessThanNumericLessThan
    NumericLessThanEqualsNumericLessThanEquals
    NumericGreaterThanNumericGreaterThan
    NumericGreaterThanEqualsNumericGreaterThanEquals
    NameValue
    STRING_EQUALSStringEquals
    STRING_NOT_EQUALSStringNotEquals
    STRING_EQUALS_IGNORE_CASEStringEqualsIgnoreCase
    STRING_NOT_EQUALS_IGNORE_CASEStringNotEqualsIgnoreCase
    STRING_LIKEStringLike
    STRING_NOT_LIKEStringNotLike
    NUMERIC_EQUALSNumericEquals
    NUMERIC_NOT_EQUALSNumericNotEquals
    NUMERIC_LESS_THANNumericLessThan
    NUMERIC_LESS_THAN_EQUALSNumericLessThanEquals
    NUMERIC_GREATER_THANNumericGreaterThan
    NUMERIC_GREATER_THAN_EQUALSNumericGreaterThanEquals
    Value
    StringEquals
    StringNotEquals
    StringEqualsIgnoreCase
    StringNotEqualsIgnoreCase
    StringLike
    StringNotLike
    NumericEquals
    NumericNotEquals
    NumericLessThan
    NumericLessThanEquals
    NumericGreaterThan
    NumericGreaterThanEquals

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.85.0
    published on Monday, Nov 2, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial