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

com.pulumi.awsnative.qbusiness.kotlin.outputs.GetWebExperienceResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.qbusiness.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.qbusiness.kotlin.enums.WebExperienceSamplePromptsControlMode
import com.pulumi.awsnative.qbusiness.kotlin.enums.WebExperienceStatus
import com.pulumi.core.Either
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property createdAt The Unix timestamp when the Amazon Q Business application was last updated.
 * @property defaultEndpoint The endpoint URLs for your Amazon Q Business web experience. The URLs are unique and fully hosted by AWS .
 * @property identityProviderConfiguration Provides information about the identity provider (IdP) used to authenticate end users of an Amazon Q Business web experience.
 * @property roleArn The Amazon Resource Name (ARN) of the service role attached to your web experience.
 * > You must provide this value if you're using IAM Identity Center to manage end user access to your application. If you're using legacy identity management to manage user access, you don't need to provide this value.
 * @property samplePromptsControlMode Determines whether sample prompts are enabled in the web experience for an end user.
 * @property status The status of your Amazon Q Business web experience.
 * @property subtitle A subtitle to personalize your Amazon Q Business web experience.
 * @property tags A list of key-value pairs that identify or categorize your Amazon Q Business web experience. You can also use tags to help control access to the web experience. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
 * @property title The title for your Amazon Q Business web experience.
 * @property updatedAt The Unix timestamp when your Amazon Q Business web experience was updated.
 * @property webExperienceArn The Amazon Resource Name (ARN) of an Amazon Q Business web experience.
 * @property webExperienceId The identifier of your Amazon Q Business web experience.
 * @property welcomeMessage A message in an Amazon Q Business web experience.
 */
public data class GetWebExperienceResult(
    public val createdAt: String? = null,
    public val defaultEndpoint: String? = null,
    public val identityProviderConfiguration: Either? =
        null,
    public val roleArn: String? = null,
    public val samplePromptsControlMode: WebExperienceSamplePromptsControlMode? = null,
    public val status: WebExperienceStatus? = null,
    public val subtitle: String? = null,
    public val tags: List? = null,
    public val title: String? = null,
    public val updatedAt: String? = null,
    public val webExperienceArn: String? = null,
    public val webExperienceId: String? = null,
    public val welcomeMessage: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.qbusiness.outputs.GetWebExperienceResult): GetWebExperienceResult = GetWebExperienceResult(
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            defaultEndpoint = javaType.defaultEndpoint().map({ args0 -> args0 }).orElse(null),
            identityProviderConfiguration = javaType.identityProviderConfiguration().map({ args0 ->
                args0.transform(
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.awsnative.qbusiness.kotlin.outputs.WebExperienceIdentityProviderConfiguration0Properties.Companion.toKotlin(args0)
                        })
                    },
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.awsnative.qbusiness.kotlin.outputs.WebExperienceIdentityProviderConfiguration1Properties.Companion.toKotlin(args0)
                        })
                    },
                )
            }).orElse(null),
            roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
            samplePromptsControlMode = javaType.samplePromptsControlMode().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.qbusiness.kotlin.enums.WebExperienceSamplePromptsControlMode.Companion.toKotlin(args0)
                })
            }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.qbusiness.kotlin.enums.WebExperienceStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            subtitle = javaType.subtitle().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            title = javaType.title().map({ args0 -> args0 }).orElse(null),
            updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
            webExperienceArn = javaType.webExperienceArn().map({ args0 -> args0 }).orElse(null),
            webExperienceId = javaType.webExperienceId().map({ args0 -> args0 }).orElse(null),
            welcomeMessage = javaType.welcomeMessage().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy