Skip to main content

recommended_actions

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

Overview

Namerecommended_actions
TypeResource
Idaws.bcm_recommended_actions.recommended_actions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID for the recommended action.
account_idstringThe account that the recommended action is for. (pattern: <code>[0-9]{12}</code>)
contextobjectContext that applies to the recommended action.
featurestringThe feature associated with the recommended action. (ACCOUNT, BUDGETS, COST_ANOMALY_DETECTION, COST_OPTIMIZATION_HUB, FREE_TIER, IAM, PAYMENTS, RESERVATIONS, SAVINGS_PLANS, TAX_SETTINGS)
last_updated_time_stampstringThe time when the recommended action status was last updated.
next_stepsarrayThe possible next steps to execute the recommended action.
severitystringThe severity associated with the recommended action. (INFO, WARNING, CRITICAL)
type_stringThe type of action you can take by adopting the recommended action. (ADD_ALTERNATE_BILLING_CONTACT, CREATE_ANOMALY_MONITOR, CREATE_BUDGET, ENABLE_COST_OPTIMIZATION_HUB, MIGRATE_TO_GRANULAR_PERMISSIONS, PAYMENTS_DUE, PAYMENTS_PAST_DUE, REVIEW_ANOMALIES, REVIEW_BUDGET_ALERTS, REVIEW_BUDGETS_EXCEEDED, REVIEW_EXPIRING_RI, REVIEW_EXPIRING_SP, REVIEW_FREETIER_USAGE_ALERTS, REVIEW_FREETIER_CREDITS_REMAINING, REVIEW_FREETIER_DAYS_REMAINING, REVIEW_SAVINGS_OPPORTUNITY_RECOMMENDATIONS, UPDATE_EXPIRED_PAYMENT_METHOD, UPDATE_INVALID_PAYMENT_METHOD, UPDATE_TAX_EXEMPTION_CERTIFICATE, UPDATE_TAX_REGISTRATION_NUMBER)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_recommended_actionsselectregionReturns a list of recommended actions that match the filter criteria.

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

Returns a list of recommended actions that match the filter criteria.

SELECT
id,
account_id,
context,
feature,
last_updated_time_stamp,
next_steps,
severity,
type_
FROM aws.bcm_recommended_actions.recommended_actions
WHERE region = '{{ region }}' -- required
;