Scraper Args
data class ScraperArgs(val alias: Output<String>? = null, val destination: Output<ScraperDestinationArgs>? = null, val roleConfiguration: Output<ScraperRoleConfigurationArgs>? = null, val scrapeConfiguration: Output<String>? = null, val source: Output<ScraperSourceArgs>? = null, val tags: Output<Map<String, String>>? = null, val timeouts: Output<ScraperTimeoutsArgs>? = null) : ConvertibleToJava<ScraperArgs>
Import
Using pulumi import
, import the Managed Scraper using its identifier. For example:
$ pulumi import aws:amp/scraper:Scraper example s-0123abc-0000-0123-a000-000000000000
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(alias: Output<String>? = null, destination: Output<ScraperDestinationArgs>? = null, roleConfiguration: Output<ScraperRoleConfigurationArgs>? = null, scrapeConfiguration: Output<String>? = null, source: Output<ScraperSourceArgs>? = null, tags: Output<Map<String, String>>? = null, timeouts: Output<ScraperTimeoutsArgs>? = null)
Properties
Link copied to clipboard
Configuration block for the managed scraper to send metrics to. See destination
.
Link copied to clipboard
Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See role_configuration
below.
Link copied to clipboard
The configuration file to use in the new scraper. For more information, see Scraper configuration.
Link copied to clipboard
Configuration block to specify where the managed scraper will collect metrics from. See source
. The following arguments are optional:
Link copied to clipboard