com.pulumi.aws.guardduty.kotlin.inputs.OrganizationConfigurationFeatureAdditionalConfigurationArgs.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.guardduty.kotlin.inputs
import com.pulumi.aws.guardduty.inputs.OrganizationConfigurationFeatureAdditionalConfigurationArgs.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 autoEnable The status of the additional configuration that will be configured for the organization. Valid values: `NEW`, `ALL`, `NONE`.
* @property name The name of the additional configuration for a feature that will be configured for the organization. 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.
*/
public data class OrganizationConfigurationFeatureAdditionalConfigurationArgs(
public val autoEnable: Output,
public val name: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.guardduty.inputs.OrganizationConfigurationFeatureAdditionalConfigurationArgs =
com.pulumi.aws.guardduty.inputs.OrganizationConfigurationFeatureAdditionalConfigurationArgs.builder()
.autoEnable(autoEnable.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OrganizationConfigurationFeatureAdditionalConfigurationArgs].
*/
@PulumiTagMarker
public class OrganizationConfigurationFeatureAdditionalConfigurationArgsBuilder internal constructor() {
private var autoEnable: Output? = null
private var name: Output? = null
/**
* @param value The status of the additional configuration that will be configured for the organization. Valid values: `NEW`, `ALL`, `NONE`.
*/
@JvmName("iasdlmokdwgmghwh")
public suspend fun autoEnable(`value`: Output) {
this.autoEnable = value
}
/**
* @param value The name of the additional configuration for a feature that will be configured for the organization. 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("mlgjeqkvgoplbqfl")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The status of the additional configuration that will be configured for the organization. Valid values: `NEW`, `ALL`, `NONE`.
*/
@JvmName("qiufjfefyabnrrpd")
public suspend fun autoEnable(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.autoEnable = mapped
}
/**
* @param value The name of the additional configuration for a feature that will be configured for the organization. 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("ppdctirkgyxakbsm")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): OrganizationConfigurationFeatureAdditionalConfigurationArgs =
OrganizationConfigurationFeatureAdditionalConfigurationArgs(
autoEnable = autoEnable ?: throw PulumiNullFieldException("autoEnable"),
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy