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

com.pulumi.awsnative.resourceexplorer2.kotlin.outputs.GetDefaultViewAssociationResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.resourceexplorer2.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property associatedAwsPrincipal The AWS principal that the default view is associated with, used as the unique identifier for this resource.
 * @property viewArn The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. The specified view must already exist in the specified Region.
 */
public data class GetDefaultViewAssociationResult(
    public val associatedAwsPrincipal: String? = null,
    public val viewArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.resourceexplorer2.outputs.GetDefaultViewAssociationResult): GetDefaultViewAssociationResult = GetDefaultViewAssociationResult(
            associatedAwsPrincipal = javaType.associatedAwsPrincipal().map({ args0 -> args0 }).orElse(null),
            viewArn = javaType.viewArn().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy