![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.eventschemas.kotlin.DiscovererArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.eventschemas.kotlin
import com.pulumi.awsnative.eventschemas.DiscovererArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::EventSchemas::Discoverer
* ## Example Usage
* ### Example
* No Java example available.
* @property crossAccount Defines whether event schemas from other accounts are discovered. Default is True.
* @property description A description for the discoverer.
* @property sourceArn The ARN of the event bus.
* @property tags Tags associated with the resource.
*/
public data class DiscovererArgs(
public val crossAccount: Output? = null,
public val description: Output? = null,
public val sourceArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.eventschemas.DiscovererArgs =
com.pulumi.awsnative.eventschemas.DiscovererArgs.builder()
.crossAccount(crossAccount?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.sourceArn(sourceArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DiscovererArgs].
*/
@PulumiTagMarker
public class DiscovererArgsBuilder internal constructor() {
private var crossAccount: Output? = null
private var description: Output? = null
private var sourceArn: Output? = null
private var tags: Output>? = null
/**
* @param value Defines whether event schemas from other accounts are discovered. Default is True.
*/
@JvmName("qdwtunrkgpxnvvhg")
public suspend fun crossAccount(`value`: Output) {
this.crossAccount = value
}
/**
* @param value A description for the discoverer.
*/
@JvmName("ptsvdrmdcognswue")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The ARN of the event bus.
*/
@JvmName("ssvkwbrkjbgxxmvx")
public suspend fun sourceArn(`value`: Output) {
this.sourceArn = value
}
/**
* @param value Tags associated with the resource.
*/
@JvmName("rqupoyftieloaxbi")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("ihyabxhmhtjjuxym")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Tags associated with the resource.
*/
@JvmName("xijjtjyhxtgekxkb")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy