
com.pulumi.awsnative.opensearchserverless.kotlin.SecurityConfigArgs.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.opensearchserverless.kotlin
import com.pulumi.awsnative.opensearchserverless.SecurityConfigArgs.builder
import com.pulumi.awsnative.opensearchserverless.kotlin.enums.SecurityConfigType
import com.pulumi.awsnative.opensearchserverless.kotlin.inputs.SecurityConfigSamlConfigOptionsArgs
import com.pulumi.awsnative.opensearchserverless.kotlin.inputs.SecurityConfigSamlConfigOptionsArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Amazon OpenSearchServerless security config resource
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property description Security config description
* @property name The friendly name of the security config
* @property samlOptions SAML options for the security configuration in the form of a key-value map.
* @property type The type of security configuration. Currently the only option is `saml` .
*/
public data class SecurityConfigArgs(
public val description: Output? = null,
public val name: Output? = null,
public val samlOptions: Output? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.opensearchserverless.SecurityConfigArgs =
com.pulumi.awsnative.opensearchserverless.SecurityConfigArgs.builder()
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.samlOptions(samlOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [SecurityConfigArgs].
*/
@PulumiTagMarker
public class SecurityConfigArgsBuilder internal constructor() {
private var description: Output? = null
private var name: Output? = null
private var samlOptions: Output? = null
private var type: Output? = null
/**
* @param value Security config description
*/
@JvmName("rgtbugptisjidyaj")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The friendly name of the security config
*/
@JvmName("erkvlsbhypxgxaxt")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value SAML options for the security configuration in the form of a key-value map.
*/
@JvmName("dyjbnsraixpptxxb")
public suspend fun samlOptions(`value`: Output) {
this.samlOptions = value
}
/**
* @param value The type of security configuration. Currently the only option is `saml` .
*/
@JvmName("wmpukpmnevjptshq")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Security config description
*/
@JvmName("pfftouypskjpoghi")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The friendly name of the security config
*/
@JvmName("vlsnbuijcxafksee")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value SAML options for the security configuration in the form of a key-value map.
*/
@JvmName("uwpievdkwyckbrho")
public suspend fun samlOptions(`value`: SecurityConfigSamlConfigOptionsArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.samlOptions = mapped
}
/**
* @param argument SAML options for the security configuration in the form of a key-value map.
*/
@JvmName("hnipwclqxnlafffc")
public suspend fun samlOptions(argument: suspend SecurityConfigSamlConfigOptionsArgsBuilder.() -> Unit) {
val toBeMapped = SecurityConfigSamlConfigOptionsArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.samlOptions = mapped
}
/**
* @param value The type of security configuration. Currently the only option is `saml` .
*/
@JvmName("gucdsgilhbbngluc")
public suspend fun type(`value`: SecurityConfigType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.type = mapped
}
internal fun build(): SecurityConfigArgs = SecurityConfigArgs(
description = description,
name = name,
samlOptions = samlOptions,
type = type,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy