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< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>ScraperTimeouts?> ? timeouts}) -
Creates a new ScraperState.
aliasName to associate with the managed scraper. This is for your use, and does not need to be unique.arnARN of the scraper.destinationConfiguration block for the managed scraper to send metrics to. SeedestinationBlock for details.exporterConfiguration block for additional exporters. SeeexporterBlock for details.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.roleArnARN of the IAM role that provides permissions for the scraper to discover, collect, and produce metricsroleConfigurationConfiguration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. SeeroleConfigurationBlock for details.scrapeConfigurationConfiguration file to use in the new scraper. For more information, see Scraper configuration.sourceConfiguration block to specify where the managed scraper will collect metrics from. SeesourceBlock for details.tagsMap of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.timeoutsOptional.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
destinationBlock for details.final -
exporter
→ Input<
ScraperExporter?> ? -
Configuration block for additional exporters. See
exporterBlock 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
roleConfigurationBlock 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
sourceBlock for details.final -
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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