Skip to main content

budget_actions_for_accounts

Creates, updates, deletes, gets or lists a budget_actions_for_accounts resource.

Overview

Namebudget_actions_for_accounts
TypeResource
Idaws.budgets.budget_actions_for_accounts

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
action_idstringA 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_thresholdobjectThe trigger threshold of the action.
action_typestringThe 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_modelstringThis specifies if the action needs manual or automatic approval. (AUTOMATIC, MANUAL)
budget_namestringA 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>)
definitionobjectSpecifies all of the type-specific parameters.
execution_role_arnstringThe 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_typestringThe type of a notification. It must be ACTUAL or FORECASTED. (ACTUAL, FORECASTED)
statusstringThe 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)
subscribersarrayA list of subscribers.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_budget_actions_for_accountselectregionDescribes all of the budget actions for an account.

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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Describes all of the budget actions for an account.

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_accounts
WHERE region = '{{ region }}' -- required
;