ScraperState class

Input properties used for looking up and filtering Scraper resources.

Constructors

ScraperState({Input<String?>? alias, Input<String?>? arn, Input<ScraperDestination?>? destination, Input<ScraperExporter?>? exporter, Input<String?>? region, Input<String?>? roleArn, Input<ScraperRoleConfiguration?>? roleConfiguration, Input<String?>? scrapeConfiguration, Input<ScraperSource?>? source, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<ScraperTimeouts?>? timeouts})
Creates a new ScraperState. alias Name to associate with the managed scraper. This is for your use, and does not need to be unique. arn ARN of the scraper. 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. roleArn ARN of the IAM role that provides permissions for the scraper to discover, collect, and produce metrics 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. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. timeouts Optional.
const
ScraperState.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
arn → Input<String?>?
ARN of the scraper.
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
roleArn → Input<String?>?
ARN of the IAM role that provides permissions for the scraper to discover, collect, and produce metrics
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
tagsAll → Input<Map<String, String>?>?
Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
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