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

com.pulumi.awsnative.qbusiness.kotlin.outputs.GetApplicationResult.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: 1.24.0.0
Show newest version
@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.ApplicationStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property applicationArn The Amazon Resource Name (ARN) of the Amazon Q Business application.
 * @property applicationId The identifier for the Amazon Q Business application.
 * @property attachmentsConfiguration Configuration information for the file upload during chat feature.
 * @property createdAt The Unix timestamp when the Amazon Q Business application was created.
 * @property description A description for the Amazon Q Business application.
 * @property displayName The name of the Amazon Q Business application.
 * @property identityCenterApplicationArn The Amazon Resource Name (ARN) of the AWS IAM Identity Center instance attached to your Amazon Q Business application.
 * @property qAppsConfiguration Configuration information about Amazon Q Apps. (preview feature)
 * @property roleArn The Amazon Resource Name (ARN) of an IAM role with permissions to access your Amazon CloudWatch logs and metrics.
 * @property status The status of the Amazon Q Business application. The application is ready to use when the status is `ACTIVE` .
 * @property tags A list of key-value pairs that identify or categorize your Amazon Q Business application. You can also use tags to help control access to the application. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
 * @property updatedAt The Unix timestamp when the Amazon Q Business application was last updated.
 */
public data class GetApplicationResult(
    public val applicationArn: String? = null,
    public val applicationId: String? = null,
    public val attachmentsConfiguration: ApplicationAttachmentsConfiguration? = null,
    public val createdAt: String? = null,
    public val description: String? = null,
    public val displayName: String? = null,
    public val identityCenterApplicationArn: String? = null,
    public val qAppsConfiguration: ApplicationQAppsConfiguration? = null,
    public val roleArn: String? = null,
    public val status: ApplicationStatus? = null,
    public val tags: List? = null,
    public val updatedAt: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.qbusiness.outputs.GetApplicationResult): GetApplicationResult = GetApplicationResult(
            applicationArn = javaType.applicationArn().map({ args0 -> args0 }).orElse(null),
            applicationId = javaType.applicationId().map({ args0 -> args0 }).orElse(null),
            attachmentsConfiguration = javaType.attachmentsConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.qbusiness.kotlin.outputs.ApplicationAttachmentsConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
            identityCenterApplicationArn = javaType.identityCenterApplicationArn().map({ args0 ->
                args0
            }).orElse(null),
            qAppsConfiguration = javaType.qAppsConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.qbusiness.kotlin.outputs.ApplicationQAppsConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.qbusiness.kotlin.enums.ApplicationStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy