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

com.pulumi.awsnative.datazone.kotlin.outputs.GetDomainResult.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.datazone.kotlin.outputs

import com.pulumi.awsnative.datazone.kotlin.enums.DomainStatus
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn The ARN of the Amazon DataZone domain.
 * @property createdAt The timestamp of when the Amazon DataZone domain was last updated.
 * @property description The description of the Amazon DataZone domain.
 * @property domainExecutionRole The domain execution role that is created when an Amazon DataZone domain is created. The domain execution role is created in the AWS account that houses the Amazon DataZone domain.
 * @property id The id of the Amazon DataZone domain.
 * @property lastUpdatedAt The timestamp of when the Amazon DataZone domain was last updated.
 * @property managedAccountId The identifier of the AWS account that manages the domain.
 * @property name The name of the Amazon DataZone domain.
 * @property portalUrl The URL of the data portal for this Amazon DataZone domain.
 * @property singleSignOn The single-sign on configuration of the Amazon DataZone domain.
 * @property status The status of the Amazon DataZone domain.
 * @property tags The tags specified for the Amazon DataZone domain.
 */
public data class GetDomainResult(
    public val arn: String? = null,
    public val createdAt: String? = null,
    public val description: String? = null,
    public val domainExecutionRole: String? = null,
    public val id: String? = null,
    public val lastUpdatedAt: String? = null,
    public val managedAccountId: String? = null,
    public val name: String? = null,
    public val portalUrl: String? = null,
    public val singleSignOn: DomainSingleSignOn? = null,
    public val status: DomainStatus? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.datazone.outputs.GetDomainResult): GetDomainResult = GetDomainResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            domainExecutionRole = javaType.domainExecutionRole().map({ args0 -> args0 }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            lastUpdatedAt = javaType.lastUpdatedAt().map({ args0 -> args0 }).orElse(null),
            managedAccountId = javaType.managedAccountId().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            portalUrl = javaType.portalUrl().map({ args0 -> args0 }).orElse(null),
            singleSignOn = javaType.singleSignOn().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datazone.kotlin.outputs.DomainSingleSignOn.Companion.toKotlin(args0)
                })
            }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datazone.kotlin.enums.DomainStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy