monitored_resources
Creates, updates, deletes, gets or lists a monitored_resources resource.
Overview
| Name | monitored_resources |
| Type | Resource |
| Id | aws.devops_guru.monitored_resources |
Fields
The following fields are returned by SELECT queries:
- list_monitored_resources
| Name | Datatype | Description |
|---|---|---|
last_updated | string (date-time) | The time at which DevOps Guru last updated this resource. |
monitored_resource_name | string | The name of the resource being monitored. (pattern: <code>[.-_/#A-Za-z0-9]+</code>) |
resource_collection | object | A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks. |
resource_permission | string | The permission status of a resource. (FULL_PERMISSION, MISSING_PERMISSION) |
type | string | The type of resource being monitored. (pattern: <code>^[a-zA-Z]+[a-zA-Z0-9-_:]*$</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_monitored_resources | select | region | Returns the list of all log groups that are being monitored and tagged by DevOps Guru. |
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_monitored_resources
Returns the list of all log groups that are being monitored and tagged by DevOps Guru.
SELECT
last_updated,
monitored_resource_name,
resource_collection,
resource_permission,
type
FROM aws.devops_guru.monitored_resources
WHERE region = '{{ region }}' -- required
;