
com.pulumi.awsnative.sso.kotlin.outputs.GetInstanceResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sso.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.sso.kotlin.enums.InstanceStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property identityStoreId The ID of the identity store associated with the created Identity Center (SSO) Instance
* @property instanceArn The SSO Instance ARN that is returned upon creation of the Identity Center (SSO) Instance
* @property name The name you want to assign to this Identity Center (SSO) Instance
* @property ownerAccountId The AWS accountId of the owner of the Identity Center (SSO) Instance
* @property status The status of the Identity Center (SSO) Instance, create_in_progress/delete_in_progress/active
* @property tags Specifies tags to be attached to the instance of IAM Identity Center.
*/
public data class GetInstanceResult(
public val identityStoreId: String? = null,
public val instanceArn: String? = null,
public val name: String? = null,
public val ownerAccountId: String? = null,
public val status: InstanceStatus? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sso.outputs.GetInstanceResult): GetInstanceResult = GetInstanceResult(
identityStoreId = javaType.identityStoreId().map({ args0 -> args0 }).orElse(null),
instanceArn = javaType.instanceArn().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
ownerAccountId = javaType.ownerAccountId().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sso.kotlin.enums.InstanceStatus.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