ScraperArgs

data class ScraperArgs(val alias: Output<String>? = null, val destination: Output<ScraperDestinationArgs>? = 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

Constructors

Link copied to clipboard
constructor(alias: Output<String>? = null, destination: Output<ScraperDestinationArgs>? = null, scrapeConfiguration: Output<String>? = null, source: Output<ScraperSourceArgs>? = null, tags: Output<Map<String, String>>? = null, timeouts: Output<ScraperTimeoutsArgs>? = null)

Properties

Link copied to clipboard
val alias: Output<String>? = null

a name to associate with the managed scraper. This is for your use, and does not need to be unique.

Link copied to clipboard
val destination: Output<ScraperDestinationArgs>? = null

Configuration block for the managed scraper to send metrics to. See destination.

Link copied to clipboard
val scrapeConfiguration: Output<String>? = null

The configuration file to use in the new scraper. For more information, see Scraper configuration.

Link copied to clipboard
val source: Output<ScraperSourceArgs>? = null

Configuration block to specify where the managed scraper will collect metrics from. See source. The following arguments are optional:

Link copied to clipboard
val tags: Output<Map<String, String>>? = null
Link copied to clipboard
val timeouts: Output<ScraperTimeoutsArgs>? = null

Functions

Link copied to clipboard
open override fun toJava(): ScraperArgs