com.pulumi.vault.github.kotlin.inputs.AuthBackendTuneArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-vault-kotlin Show documentation
Show all versions of pulumi-vault-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.vault.github.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.vault.github.inputs.AuthBackendTuneArgs.builder
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property allowedResponseHeaders List of headers to whitelist and allowing
* a plugin to include them in the response.
* @property auditNonHmacRequestKeys Specifies the list of keys that will
* not be HMAC'd by audit devices in the request data object.
* @property auditNonHmacResponseKeys Specifies the list of keys that will
* not be HMAC'd by audit devices in the response data object.
* @property defaultLeaseTtl Specifies the default time-to-live.
* If set, this overrides the global default.
* Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
* @property listingVisibility Specifies whether to show this mount in
* the UI-specific listing endpoint. Valid values are "unauth" or "hidden".
* @property maxLeaseTtl Specifies the maximum time-to-live.
* If set, this overrides the global default.
* Must be a valid [duration string](https://golang.org/pkg/time/#ParseDuration)
* @property passthroughRequestHeaders List of headers to whitelist and
* pass from the request to the backend.
* @property tokenType Specifies the type of tokens that should be returned by
* the mount. Valid values are "default-service", "default-batch", "service", "batch".
*/
public data class AuthBackendTuneArgs(
public val allowedResponseHeaders: Output>? = null,
public val auditNonHmacRequestKeys: Output>? = null,
public val auditNonHmacResponseKeys: Output>? = null,
public val defaultLeaseTtl: Output? = null,
public val listingVisibility: Output? = null,
public val maxLeaseTtl: Output? = null,
public val passthroughRequestHeaders: Output>? = null,
public val tokenType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.vault.github.inputs.AuthBackendTuneArgs =
com.pulumi.vault.github.inputs.AuthBackendTuneArgs.builder()
.allowedResponseHeaders(
allowedResponseHeaders?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.auditNonHmacRequestKeys(
auditNonHmacRequestKeys?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.auditNonHmacResponseKeys(
auditNonHmacResponseKeys?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.defaultLeaseTtl(defaultLeaseTtl?.applyValue({ args0 -> args0 }))
.listingVisibility(listingVisibility?.applyValue({ args0 -> args0 }))
.maxLeaseTtl(maxLeaseTtl?.applyValue({ args0 -> args0 }))
.passthroughRequestHeaders(
passthroughRequestHeaders?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.tokenType(tokenType?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AuthBackendTuneArgs].
*/
@PulumiTagMarker
public class AuthBackendTuneArgsBuilder internal constructor() {
private var allowedResponseHeaders: Output>? = null
private var auditNonHmacRequestKeys: Output>? = null
private var auditNonHmacResponseKeys: Output>? = null
private var defaultLeaseTtl: Output? = null
private var listingVisibility: Output? = null
private var maxLeaseTtl: Output? = null
private var passthroughRequestHeaders: Output>? = null
private var tokenType: Output? = null
/**
* @param value List of headers to whitelist and allowing
* a plugin to include them in the response.
*/
@JvmName("bmgmdlaoocletjph")
public suspend fun allowedResponseHeaders(`value`: Output>) {
this.allowedResponseHeaders = value
}
@JvmName("axorisccvkbcxjud")
public suspend fun allowedResponseHeaders(vararg values: Output) {
this.allowedResponseHeaders = Output.all(values.asList())
}
/**
* @param values List of headers to whitelist and allowing
* a plugin to include them in the response.
*/
@JvmName("tcxtgkucfbcjpwep")
public suspend fun allowedResponseHeaders(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy