![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.codeguruprofiler.kotlin.ProfilingGroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.codeguruprofiler.kotlin
import com.pulumi.awsnative.codeguruprofiler.ProfilingGroupArgs.builder
import com.pulumi.awsnative.codeguruprofiler.kotlin.enums.ProfilingGroupComputePlatform
import com.pulumi.awsnative.codeguruprofiler.kotlin.inputs.AgentPermissionsPropertiesArgs
import com.pulumi.awsnative.codeguruprofiler.kotlin.inputs.AgentPermissionsPropertiesArgsBuilder
import com.pulumi.awsnative.codeguruprofiler.kotlin.inputs.ProfilingGroupChannelArgs
import com.pulumi.awsnative.codeguruprofiler.kotlin.inputs.ProfilingGroupChannelArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* This resource schema represents the Profiling Group resource in the Amazon CodeGuru Profiler service.
* @property agentPermissions The agent permissions attached to this profiling group.
* @property anomalyDetectionNotificationConfiguration Configuration for Notification Channels for Anomaly Detection feature in CodeGuru Profiler which enables customers to detect anomalies in the application profile for those methods that represent the highest proportion of CPU time or latency
* @property computePlatform The compute platform of the profiling group.
* @property profilingGroupName The name of the profiling group.
* @property tags The tags associated with a profiling group.
*/
public data class ProfilingGroupArgs(
public val agentPermissions: Output? = null,
public val anomalyDetectionNotificationConfiguration: Output>? =
null,
public val computePlatform: Output? = null,
public val profilingGroupName: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.codeguruprofiler.ProfilingGroupArgs =
com.pulumi.awsnative.codeguruprofiler.ProfilingGroupArgs.builder()
.agentPermissions(agentPermissions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.anomalyDetectionNotificationConfiguration(
anomalyDetectionNotificationConfiguration?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.computePlatform(computePlatform?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.profilingGroupName(profilingGroupName?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ProfilingGroupArgs].
*/
@PulumiTagMarker
public class ProfilingGroupArgsBuilder internal constructor() {
private var agentPermissions: Output? = null
private var anomalyDetectionNotificationConfiguration: Output>? =
null
private var computePlatform: Output? = null
private var profilingGroupName: Output? = null
private var tags: Output>? = null
/**
* @param value The agent permissions attached to this profiling group.
*/
@JvmName("jhqsfxuaueojuhqx")
public suspend fun agentPermissions(`value`: Output) {
this.agentPermissions = value
}
/**
* @param value Configuration for Notification Channels for Anomaly Detection feature in CodeGuru Profiler which enables customers to detect anomalies in the application profile for those methods that represent the highest proportion of CPU time or latency
*/
@JvmName("rqlixavcotbkgkwa")
public suspend fun anomalyDetectionNotificationConfiguration(`value`: Output>) {
this.anomalyDetectionNotificationConfiguration = value
}
@JvmName("kvgpbfstnbijcotv")
public suspend fun anomalyDetectionNotificationConfiguration(vararg values: Output) {
this.anomalyDetectionNotificationConfiguration = Output.all(values.asList())
}
/**
* @param values Configuration for Notification Channels for Anomaly Detection feature in CodeGuru Profiler which enables customers to detect anomalies in the application profile for those methods that represent the highest proportion of CPU time or latency
*/
@JvmName("ukaryhmichvtmmkw")
public suspend fun anomalyDetectionNotificationConfiguration(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy