recommended_actions
Creates, updates, deletes, gets or lists a recommended_actions resource.
Overview
| Name | recommended_actions |
| Type | Resource |
| Id | aws.bcm_recommended_actions.recommended_actions |
Fields
The following fields are returned by SELECT queries:
- list_recommended_actions
| Name | Datatype | Description |
|---|---|---|
id | string | The ID for the recommended action. |
account_id | string | The account that the recommended action is for. (pattern: <code>[0-9]{12}</code>) |
context | object | Context that applies to the recommended action. |
feature | string | The 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_stamp | string | The time when the recommended action status was last updated. |
next_steps | array | The possible next steps to execute the recommended action. |
severity | string | The severity associated with the recommended action. (INFO, WARNING, CRITICAL) |
type_ | string | The 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_recommended_actions | select | region | Returns 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_recommended_actions
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
;