budget_actions_for_budgets
Creates, updates, deletes, gets or lists a budget_actions_for_budgets resource.
Overview
| Name | budget_actions_for_budgets |
| Type | Resource |
| Id | aws.budgets.budget_actions_for_budgets |
Fields
The following fields are returned by SELECT queries:
- describe_budget_actions_for_budget
| Name | Datatype | Description |
|---|---|---|
action_id | string | A system-generated universally unique identifier (UUID) for the action. (pattern: <code>^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$</code>) |
action_threshold | object | The trigger threshold of the action. |
action_type | string | The type of action. This defines the type of tasks that can be carried out by this action. This field also determines the format for definition. (APPLY_IAM_POLICY, APPLY_SCP_POLICY, RUN_SSM_DOCUMENTS) |
approval_model | string | This specifies if the action needs manual or automatic approval. (AUTOMATIC, MANUAL) |
budget_name | string | A string that represents the budget name. The ":" and "" characters, and the "/action/" substring, aren't allowed. Budget names are validated for content. Names that contain phone numbers, URLs, or email addresses combined with certain terms may be rejected. (pattern: <code>^(?![^:\]/action/|(?i).<script>.</script>.)[^:\]+$</code>) |
definition | object | Specifies all of the type-specific parameters. |
execution_role_arn | string | The role passed for action execution and reversion. Roles and actions must be in the same account. (pattern: <code>^arn:aws(-eusc|-cn|-us-gov|-iso|-iso-[a-z]{1})?:iam::\d{12}:role(\u002F[\u0021-\u007F]+\u002F|\u002F)[\w+=,.@-]+$</code>) |
notification_type | string | The type of a notification. It must be ACTUAL or FORECASTED. (ACTUAL, FORECASTED) |
status | string | The status of the action. (STANDBY, PENDING, EXECUTION_IN_PROGRESS, EXECUTION_SUCCESS, EXECUTION_FAILURE, REVERSE_IN_PROGRESS, REVERSE_SUCCESS, REVERSE_FAILURE, RESET_IN_PROGRESS, RESET_FAILURE) |
subscribers | array | A list of subscribers. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_budget_actions_for_budget | select | region | Describes all of the budget actions for a budget. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- describe_budget_actions_for_budget
Describes all of the budget actions for a budget.
SELECT
action_id,
action_threshold,
action_type,
approval_model,
budget_name,
definition,
execution_role_arn,
notification_type,
status,
subscribers
FROM aws.budgets.budget_actions_for_budgets
WHERE region = '{{ region }}' -- required
;