
com.pulumi.googlenative.domains.v1.kotlin.inputs.AuditLogConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.domains.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.domains.v1.inputs.AuditLogConfigArgs.builder
import com.pulumi.googlenative.domains.v1.kotlin.enums.AuditLogConfigLogType
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting [email protected] from DATA_READ logging.
* @property exemptedMembers Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
* @property logType The log type that this config enables.
*/
public data class AuditLogConfigArgs(
public val exemptedMembers: Output>? = null,
public val logType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.domains.v1.inputs.AuditLogConfigArgs =
com.pulumi.googlenative.domains.v1.inputs.AuditLogConfigArgs.builder()
.exemptedMembers(exemptedMembers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.logType(logType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AuditLogConfigArgs].
*/
@PulumiTagMarker
public class AuditLogConfigArgsBuilder internal constructor() {
private var exemptedMembers: Output>? = null
private var logType: Output? = null
/**
* @param value Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
*/
@JvmName("hrkxoqhybljqigas")
public suspend fun exemptedMembers(`value`: Output>) {
this.exemptedMembers = value
}
@JvmName("oadfphugfmyybyrb")
public suspend fun exemptedMembers(vararg values: Output) {
this.exemptedMembers = Output.all(values.asList())
}
/**
* @param values Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
*/
@JvmName("atotstfdsfjvtnfd")
public suspend fun exemptedMembers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy