/AWS1/CL_COACREATEAUTORULERSP¶
CreateAutomationRuleResponse
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_rulearn TYPE /AWS1/COARULEARN /AWS1/COARULEARN¶
The Amazon Resource Name (ARN) of the created rule.
iv_ruleid TYPE /AWS1/COARULEID /AWS1/COARULEID¶
The unique identifier of the created rule.
iv_name TYPE /AWS1/COARULENAME /AWS1/COARULENAME¶
The name of the automation rule. Must be 1-128 characters long and contain only alphanumeric characters, underscores, and hyphens.
iv_description TYPE /AWS1/COASTRING /AWS1/COASTRING¶
A description of the automation rule. Can be up to 1024 characters long and contain alphanumeric characters, underscores, hyphens, spaces, and certain special characters.
iv_ruletype TYPE /AWS1/COARULETYPE /AWS1/COARULETYPE¶
The type of automation rule. Can be either OrganizationRule for organization-wide rules or AccountRule for account-specific rules.
iv_rulerevision TYPE /AWS1/COALONG /AWS1/COALONG¶
The revision number of the automation rule. This is incremented each time the rule is updated.
io_organizationconfiguration TYPE REF TO /AWS1/CL_COAORGANIZATIONCONF /AWS1/CL_COAORGANIZATIONCONF¶
Configuration settings for organization-wide rules, including rule application order and target account IDs.
iv_priority TYPE /AWS1/COASTRING /AWS1/COASTRING¶
The priority level of the automation rule, used to determine execution order when multiple rules apply to the same resource.
it_recommendedactiontypes TYPE /AWS1/CL_COARECDACTTYPELIST_W=>TT_RECOMMENDEDACTIONTYPELIST TT_RECOMMENDEDACTIONTYPELIST¶
List of recommended action types that this rule can execute, such as SnapshotAndDeleteUnattachedEbsVolume or UpgradeEbsVolumeType.
io_criteria TYPE REF TO /AWS1/CL_COACRITERIA /AWS1/CL_COACRITERIA¶
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.
io_schedule TYPE REF TO /AWS1/CL_COASCHEDULE /AWS1/CL_COASCHEDULE¶
The schedule configuration for when the automation rule should execute, including cron expression, timezone, and execution window.
iv_status TYPE /AWS1/COARULESTATUS /AWS1/COARULESTATUS¶
The current status of the automation rule. Can be Active or Inactive.
it_tags TYPE /AWS1/CL_COATAG=>TT_TAGLIST TT_TAGLIST¶
A list of key-value pairs used to categorize and organize the automation rule. Maximum of 200 tags allowed.
iv_createdtimestamp TYPE /AWS1/COATIMESTAMP /AWS1/COATIMESTAMP¶
The timestamp when the automation rule was created.
Queryable Attributes¶
ruleArn¶
The Amazon Resource Name (ARN) of the created rule.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RULEARN() |
Getter for RULEARN, with configurable default |
ASK_RULEARN() |
Getter for RULEARN w/ exceptions if field has no value |
HAS_RULEARN() |
Determine if RULEARN has a value |
ruleId¶
The unique identifier of the created rule.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RULEID() |
Getter for RULEID, with configurable default |
ASK_RULEID() |
Getter for RULEID w/ exceptions if field has no value |
HAS_RULEID() |
Determine if RULEID has a value |
name¶
The name of the automation rule. Must be 1-128 characters long and contain only alphanumeric characters, underscores, and hyphens.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
description¶
A description of the automation rule. Can be up to 1024 characters long and contain alphanumeric characters, underscores, hyphens, spaces, and certain special characters.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESCRIPTION() |
Getter for DESCRIPTION, with configurable default |
ASK_DESCRIPTION() |
Getter for DESCRIPTION w/ exceptions if field has no value |
HAS_DESCRIPTION() |
Determine if DESCRIPTION has a value |
ruleType¶
The type of automation rule. Can be either OrganizationRule for organization-wide rules or AccountRule for account-specific rules.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RULETYPE() |
Getter for RULETYPE, with configurable default |
ASK_RULETYPE() |
Getter for RULETYPE w/ exceptions if field has no value |
HAS_RULETYPE() |
Determine if RULETYPE has a value |
ruleRevision¶
The revision number of the automation rule. This is incremented each time the rule is updated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RULEREVISION() |
Getter for RULEREVISION, with configurable default |
ASK_RULEREVISION() |
Getter for RULEREVISION w/ exceptions if field has no value |
HAS_RULEREVISION() |
Determine if RULEREVISION has a value |
organizationConfiguration¶
Configuration settings for organization-wide rules, including rule application order and target account IDs.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ORGANIZATIONCONF() |
Getter for ORGANIZATIONCONFIGURATION |
priority¶
The priority level of the automation rule, used to determine execution order when multiple rules apply to the same resource.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PRIORITY() |
Getter for PRIORITY, with configurable default |
ASK_PRIORITY() |
Getter for PRIORITY w/ exceptions if field has no value |
HAS_PRIORITY() |
Determine if PRIORITY has a value |
recommendedActionTypes¶
List of recommended action types that this rule can execute, such as SnapshotAndDeleteUnattachedEbsVolume or UpgradeEbsVolumeType.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RECOMMENDEDACTIONTYPES() |
Getter for RECOMMENDEDACTIONTYPES, with configurable default |
ASK_RECOMMENDEDACTIONTYPES() |
Getter for RECOMMENDEDACTIONTYPES w/ exceptions if field has |
HAS_RECOMMENDEDACTIONTYPES() |
Determine if RECOMMENDEDACTIONTYPES has a value |
criteria¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CRITERIA() |
Getter for CRITERIA |
schedule¶
The schedule configuration for when the automation rule should execute, including cron expression, timezone, and execution window.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCHEDULE() |
Getter for SCHEDULE |
status¶
The current status of the automation rule. Can be Active or Inactive.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
tags¶
A list of key-value pairs used to categorize and organize the automation rule. Maximum of 200 tags allowed.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TAGS() |
Getter for TAGS, with configurable default |
ASK_TAGS() |
Getter for TAGS w/ exceptions if field has no value |
HAS_TAGS() |
Determine if TAGS has a value |
createdTimestamp¶
The timestamp when the automation rule was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDTIMESTAMP() |
Getter for CREATEDTIMESTAMP, with configurable default |
ASK_CREATEDTIMESTAMP() |
Getter for CREATEDTIMESTAMP w/ exceptions if field has no va |
HAS_CREATEDTIMESTAMP() |
Determine if CREATEDTIMESTAMP has a value |