Skip to main content

monitored_resources

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

Overview

Namemonitored_resources
TypeResource
Idaws.devops_guru.monitored_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
last_updatedstring (date-time)The time at which DevOps Guru last updated this resource.
monitored_resource_namestringThe name of the resource being monitored. (pattern: <code>[.-_/#A-Za-z0-9]+</code>)
resource_collectionobjectA 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_permissionstringThe permission status of a resource. (FULL_PERMISSION, MISSING_PERMISSION)
typestringThe type of resource being monitored. (pattern: <code>^[a-zA-Z]+[a-zA-Z0-9-_:]*$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_monitored_resourcesselectregionReturns 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.

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

SELECT examples

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
;