Builder

class Builder

Properties

Link copied to clipboard

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Must be 1-64 characters long and contain only alphanumeric characters, underscores, and hyphens.

Link copied to clipboard

A set of conditions that specify which recommended action qualify for implementation. When a rule is active and a recommended action matches these criteria, Compute Optimizer implements the action at the scheduled run time. You can specify up to 20 conditions per filter criteria and 20 values per condition.

Link copied to clipboard

The updated description of the automation rule. Can be up to 1024 characters long and contain alphanumeric characters, underscores, hyphens, spaces, and certain special characters.

Link copied to clipboard
var name: String?

The updated name of the automation rule. Must be 1-128 characters long and contain only alphanumeric characters, underscores, and hyphens.

Link copied to clipboard

Updated configuration settings for organization-wide rules, including rule application order and target account IDs.

Link copied to clipboard

The updated priority level of the automation rule, used to determine execution order when multiple rules apply to the same resource.

Link copied to clipboard

Updated list of recommended action types that this rule can execute, such as SnapshotAndDeleteUnattachedEbsVolume or UpgradeEbsVolumeType.

Link copied to clipboard

The ARN of the rule to update.

Link copied to clipboard

The revision number of the rule to update.

Link copied to clipboard

The updated type of automation rule. Can be either OrganizationRule for organization-wide rules or AccountRule for account-specific rules.

Link copied to clipboard

The updated schedule configuration for when the automation rule should execute, including cron expression, timezone, and execution window.

Link copied to clipboard

The updated status of the automation rule. Can be Active or Inactive.