
com.pulumi.aws.guardduty.kotlin.inputs.DetectorFeatureAdditionalConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.guardduty.kotlin.inputs
import com.pulumi.aws.guardduty.inputs.DetectorFeatureAdditionalConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property name The name of the additional configuration for a feature. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
* @property status The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
*/
public data class DetectorFeatureAdditionalConfigurationArgs(
public val name: Output,
public val status: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.guardduty.inputs.DetectorFeatureAdditionalConfigurationArgs = com.pulumi.aws.guardduty.inputs.DetectorFeatureAdditionalConfigurationArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.status(status.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DetectorFeatureAdditionalConfigurationArgs].
*/
@PulumiTagMarker
public class DetectorFeatureAdditionalConfigurationArgsBuilder internal constructor() {
private var name: Output? = null
private var status: Output? = null
/**
* @param value The name of the additional configuration for a feature. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
*/
@JvmName("alxijutlinwprdor")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
*/
@JvmName("yhdqihwowtyfxvya")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value The name of the additional configuration for a feature. Valid values: `EKS_ADDON_MANAGEMENT`, `ECS_FARGATE_AGENT_MANAGEMENT`, `EC2_AGENT_MANAGEMENT`. Refer to the [AWS Documentation](https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DetectorAdditionalConfiguration.html) for the current list of supported values.
*/
@JvmName("bypsspheyemccrdo")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The status of the additional configuration. Valid values: `ENABLED`, `DISABLED`.
*/
@JvmName("xavwvfeelkeiebgn")
public suspend fun status(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.status = mapped
}
internal fun build(): DetectorFeatureAdditionalConfigurationArgs =
DetectorFeatureAdditionalConfigurationArgs(
name = name ?: throw PulumiNullFieldException("name"),
status = status ?: throw PulumiNullFieldException("status"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy