Scraper

class Scraper : KotlinCustomResource

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

Properties

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

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 arn: Output<String>

The Amazon Resource Name (ARN) of the new scraper.

Link copied to clipboard

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val roleArn: Output<String>

The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover, collect, and produce metrics

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
val source: Output<ScraperSource>?

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>>?
Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>