![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.xray.kotlin.GroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.xray.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.xray.GroupArgs.builder
import com.pulumi.awsnative.xray.kotlin.inputs.GroupInsightsConfigurationArgs
import com.pulumi.awsnative.xray.kotlin.inputs.GroupInsightsConfigurationArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* This schema provides construct and validation rules for AWS-XRay Group resource parameters.
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property filterExpression The filter expression defining criteria by which to group traces.
* @property groupName The case-sensitive name of the new group. Names must be unique.
* @property insightsConfiguration The structure containing configurations related to insights.
* - The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
* - The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class GroupArgs(
public val filterExpression: Output? = null,
public val groupName: Output? = null,
public val insightsConfiguration: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.xray.GroupArgs =
com.pulumi.awsnative.xray.GroupArgs.builder()
.filterExpression(filterExpression?.applyValue({ args0 -> args0 }))
.groupName(groupName?.applyValue({ args0 -> args0 }))
.insightsConfiguration(
insightsConfiguration?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [GroupArgs].
*/
@PulumiTagMarker
public class GroupArgsBuilder internal constructor() {
private var filterExpression: Output? = null
private var groupName: Output? = null
private var insightsConfiguration: Output? = null
private var tags: Output>? = null
/**
* @param value The filter expression defining criteria by which to group traces.
*/
@JvmName("aiynrifwxbvvadiv")
public suspend fun filterExpression(`value`: Output) {
this.filterExpression = value
}
/**
* @param value The case-sensitive name of the new group. Names must be unique.
*/
@JvmName("ptxvaftnfxjfhjso")
public suspend fun groupName(`value`: Output) {
this.groupName = value
}
/**
* @param value The structure containing configurations related to insights.
* - The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
* - The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.
*/
@JvmName("onykuybbvtinvgrd")
public suspend fun insightsConfiguration(`value`: Output) {
this.insightsConfiguration = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("yrliesndkbhjswda")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("xkmnpleeeregxguc")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("lmlyyjpjdmxxadbr")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy