All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.opensearch.kotlin.inputs.ServerlessSecurityConfigSamlOptionsArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.opensearch.kotlin.inputs

import com.pulumi.aws.opensearch.inputs.ServerlessSecurityConfigSamlOptionsArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property groupAttribute Group attribute for this SAML integration.
 * @property metadata The XML IdP metadata file generated from your identity provider.
 * @property sessionTimeout Session timeout, in minutes. Minimum is 5 minutes and maximum is 720 minutes (12 hours). Default is 60 minutes.
 * @property userAttribute User attribute for this SAML integration.
 */
public data class ServerlessSecurityConfigSamlOptionsArgs(
    public val groupAttribute: Output? = null,
    public val metadata: Output,
    public val sessionTimeout: Output? = null,
    public val userAttribute: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.opensearch.inputs.ServerlessSecurityConfigSamlOptionsArgs =
        com.pulumi.aws.opensearch.inputs.ServerlessSecurityConfigSamlOptionsArgs.builder()
            .groupAttribute(groupAttribute?.applyValue({ args0 -> args0 }))
            .metadata(metadata.applyValue({ args0 -> args0 }))
            .sessionTimeout(sessionTimeout?.applyValue({ args0 -> args0 }))
            .userAttribute(userAttribute?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServerlessSecurityConfigSamlOptionsArgs].
 */
@PulumiTagMarker
public class ServerlessSecurityConfigSamlOptionsArgsBuilder internal constructor() {
    private var groupAttribute: Output? = null

    private var metadata: Output? = null

    private var sessionTimeout: Output? = null

    private var userAttribute: Output? = null

    /**
     * @param value Group attribute for this SAML integration.
     */
    @JvmName("ydewumiygxaupelb")
    public suspend fun groupAttribute(`value`: Output) {
        this.groupAttribute = value
    }

    /**
     * @param value The XML IdP metadata file generated from your identity provider.
     */
    @JvmName("pndirffoojuogaie")
    public suspend fun metadata(`value`: Output) {
        this.metadata = value
    }

    /**
     * @param value Session timeout, in minutes. Minimum is 5 minutes and maximum is 720 minutes (12 hours). Default is 60 minutes.
     */
    @JvmName("cdynyrntwjtckikf")
    public suspend fun sessionTimeout(`value`: Output) {
        this.sessionTimeout = value
    }

    /**
     * @param value User attribute for this SAML integration.
     */
    @JvmName("fcbsfaufvrnfjtae")
    public suspend fun userAttribute(`value`: Output) {
        this.userAttribute = value
    }

    /**
     * @param value Group attribute for this SAML integration.
     */
    @JvmName("kloshrpibwpgabnw")
    public suspend fun groupAttribute(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.groupAttribute = mapped
    }

    /**
     * @param value The XML IdP metadata file generated from your identity provider.
     */
    @JvmName("konwoalnymspxkwe")
    public suspend fun metadata(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.metadata = mapped
    }

    /**
     * @param value Session timeout, in minutes. Minimum is 5 minutes and maximum is 720 minutes (12 hours). Default is 60 minutes.
     */
    @JvmName("iythfhgqvspalkxl")
    public suspend fun sessionTimeout(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sessionTimeout = mapped
    }

    /**
     * @param value User attribute for this SAML integration.
     */
    @JvmName("uhdulwygepfsbjvh")
    public suspend fun userAttribute(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userAttribute = mapped
    }

    internal fun build(): ServerlessSecurityConfigSamlOptionsArgs =
        ServerlessSecurityConfigSamlOptionsArgs(
            groupAttribute = groupAttribute,
            metadata = metadata ?: throw PulumiNullFieldException("metadata"),
            sessionTimeout = sessionTimeout,
            userAttribute = userAttribute,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy