ScraperArgs class

The set of arguments for Scraper. The set of arguments for Scraper.

Constructors

ScraperArgs({Input<String?>? alias, required Input<ScraperDestination> destination, Input<ScraperExporter?>? exporter, Input<String?>? region, Input<ScraperRoleConfiguration?>? roleConfiguration, required Input<String> scrapeConfiguration, Input<ScraperSource?>? source, Input<Map<String, String>?>? tags, Input<ScraperTimeouts?>? timeouts})
Creates a new ScraperArgs. alias Name to associate with the managed scraper. This is for your use, and does not need to be unique. destination Configuration block for the managed scraper to send metrics to. See destination Block for details. exporter Configuration block for additional exporters. See exporter Block for details. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. roleConfiguration Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See roleConfiguration Block for details. scrapeConfiguration Configuration file to use in the new scraper. For more information, see Scraper configuration. source Configuration block to specify where the managed scraper will collect metrics from. See source Block for details. tags Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. timeouts Optional.
const
ScraperArgs.fromMap(Map<String, dynamic> map)
factory

Properties

alias → Input<String?>?
Name to associate with the managed scraper. This is for your use, and does not need to be unique.
final
destination → Input<ScraperDestination>
Configuration block for the managed scraper to send metrics to. See destination Block for details.
final
exporter → Input<ScraperExporter?>?
Configuration block for additional exporters. See exporter Block for details.
final
hashCode → int
The hash code for this object.
no setterinherited
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
roleConfiguration → Input<ScraperRoleConfiguration?>?
Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See roleConfiguration Block for details.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrapeConfiguration → Input<String>
Configuration file to use in the new scraper. For more information, see Scraper configuration.
final
source → Input<ScraperSource?>?
Configuration block to specify where the managed scraper will collect metrics from. See source Block for details.
final
tags → Input<Map<String, String>?>?
Map of tags to assign to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
timeouts → Input<ScraperTimeouts?>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited