com.pulumi.aws.amp.kotlin.ScraperArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.amp.kotlin
import com.pulumi.aws.amp.ScraperArgs.builder
import com.pulumi.aws.amp.kotlin.inputs.ScraperDestinationArgs
import com.pulumi.aws.amp.kotlin.inputs.ScraperDestinationArgsBuilder
import com.pulumi.aws.amp.kotlin.inputs.ScraperSourceArgs
import com.pulumi.aws.amp.kotlin.inputs.ScraperSourceArgsBuilder
import com.pulumi.aws.amp.kotlin.inputs.ScraperTimeoutsArgs
import com.pulumi.aws.amp.kotlin.inputs.ScraperTimeoutsArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
*
* ## Import
* Using `pulumi import`, import the Managed Scraper using its identifier.
* For example:
* ```sh
* $ pulumi import aws:amp/scraper:Scraper example s-0123abc-0000-0123-a000-000000000000
* ```
* @property alias a name to associate with the managed scraper. This is for your use, and does not need to be unique.
* @property destination Configuration block for the managed scraper to send metrics to. See `destination`.
* @property scrapeConfiguration The configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
* @property source Configuration block to specify where the managed scraper will collect metrics from. See `source`.
* The following arguments are optional:
* @property tags
* @property timeouts
*/
public data class ScraperArgs(
public val alias: Output? = null,
public val destination: Output? = null,
public val scrapeConfiguration: Output? = null,
public val source: Output? = null,
public val tags: Output
© 2015 - 2024 Weber Informatics LLC | Privacy Policy