default_scraper_configurations
Creates, updates, deletes, gets or lists a default_scraper_configurations resource.
Overview
| Name | default_scraper_configurations |
| Type | Resource |
| Id | aws.amp.default_scraper_configurations |
Fields
The following fields are returned by SELECT queries:
- get_default_scraper_configuration
| Name | Datatype | Description |
|---|---|---|
configuration | string (byte) | The configuration file. Base 64 encoded. For more information, see Scraper configurationin the Amazon Managed Service for Prometheus User Guide. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_default_scraper_configuration | select | region | The GetDefaultScraperConfiguration operation returns the default scraper configuration used when Amazon EKS creates a scraper for you. |
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_default_scraper_configuration
The GetDefaultScraperConfiguration operation returns the default scraper configuration used when Amazon EKS creates a scraper for you.
SELECT
configuration
FROM aws.amp.default_scraper_configurations
WHERE region = '{{ region }}' -- required
;