com.pulumi.awsnative.securityhub.kotlin.inputs.ConfigurationPolicySecurityHubPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.securityhub.kotlin.inputs
import com.pulumi.awsnative.securityhub.inputs.ConfigurationPolicySecurityHubPolicyArgs.builder
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
/**
* An object that defines how AWS Security Hub is configured.
* @property enabledStandardIdentifiers A list that defines which security standards are enabled in the configuration policy.
* @property securityControlsConfiguration An object that defines which security controls are enabled in the configuration policy. The enablement status of a control is aligned across all of the enabled standards in an account.
* @property serviceEnabled Indicates whether Security Hub is enabled in the policy.
*/
public data class ConfigurationPolicySecurityHubPolicyArgs(
public val enabledStandardIdentifiers: Output>? = null,
public val securityControlsConfiguration: Output? = null,
public val serviceEnabled: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.securityhub.inputs.ConfigurationPolicySecurityHubPolicyArgs =
com.pulumi.awsnative.securityhub.inputs.ConfigurationPolicySecurityHubPolicyArgs.builder()
.enabledStandardIdentifiers(
enabledStandardIdentifiers?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.securityControlsConfiguration(
securityControlsConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.serviceEnabled(serviceEnabled?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConfigurationPolicySecurityHubPolicyArgs].
*/
@PulumiTagMarker
public class ConfigurationPolicySecurityHubPolicyArgsBuilder internal constructor() {
private var enabledStandardIdentifiers: Output>? = null
private var securityControlsConfiguration:
Output? = null
private var serviceEnabled: Output? = null
/**
* @param value A list that defines which security standards are enabled in the configuration policy.
*/
@JvmName("asefvhlcayivycrh")
public suspend fun enabledStandardIdentifiers(`value`: Output>) {
this.enabledStandardIdentifiers = value
}
@JvmName("dpbtujvmyvmchxle")
public suspend fun enabledStandardIdentifiers(vararg values: Output) {
this.enabledStandardIdentifiers = Output.all(values.asList())
}
/**
* @param values A list that defines which security standards are enabled in the configuration policy.
*/
@JvmName("yvjlfyuqvxitnjry")
public suspend fun enabledStandardIdentifiers(values: List