resource_metadatas
Creates, updates, deletes, gets or lists a resource_metadatas resource.
Overview
| Name | resource_metadatas |
| Type | Resource |
| Id | aws.pi.resource_metadatas |
Fields
The following fields are returned by SELECT queries:
- get_resource_metadata
| Name | Datatype | Description |
|---|---|---|
features | object | The metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance. |
identifier | string | An immutable identifier for a data source that is unique for an Amazon Web Services Region. Performance Insights gathers metrics from this data source. To use a DB instance as a data source, specify its DbiResourceId value. For example, specify db-ABCDEFGHIJKLMNOPQRSTU1VW2X. (pattern: <code>.\S.</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_resource_metadata | select | region | Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance. |
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
- get_resource_metadata
Retrieve the metadata for different features. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.
SELECT
features,
identifier
FROM aws.pi.resource_metadatas
WHERE region = '{{ region }}' -- required
;