com.pulumi.aws.cloudformation.kotlin.outputs.StackInstancesStackInstanceSummary.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.cloudformation.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property accountId Account ID in which the instance is deployed.
* @property detailedStatus Detailed status of the stack instance. Values include `PENDING`, `RUNNING`, `SUCCEEDED`, `FAILED`, `CANCELLED`, `INOPERABLE`, `SKIPPED_SUSPENDED_ACCOUNT`, `FAILED_IMPORT`.
* @property driftStatus Status of the stack instance's actual configuration compared to the expected template and parameter configuration of the stack set to which it belongs. Values include `DRIFTED`, `IN_SYNC`, `UNKNOWN`, `NOT_CHECKED`.
* @property organizationalUnitId Organization root ID or organizational unit (OU) IDs that you specified for `deployment_targets`.
* @property region Region that the stack instance is associated with.
* @property stackId ID of the stack instance.
* @property stackSetId Name or unique ID of the stack set that the stack instance is associated with.
* @property status Status of the stack instance, in terms of its synchronization with its associated stack set. Values include `CURRENT`, `OUTDATED`, `INOPERABLE`.
* @property statusReason Explanation for the specific status code assigned to this stack instance.
*/
public data class StackInstancesStackInstanceSummary(
public val accountId: String? = null,
public val detailedStatus: String? = null,
public val driftStatus: String? = null,
public val organizationalUnitId: String? = null,
public val region: String? = null,
public val stackId: String? = null,
public val stackSetId: String? = null,
public val status: String? = null,
public val statusReason: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.cloudformation.outputs.StackInstancesStackInstanceSummary): StackInstancesStackInstanceSummary = StackInstancesStackInstanceSummary(
accountId = javaType.accountId().map({ args0 -> args0 }).orElse(null),
detailedStatus = javaType.detailedStatus().map({ args0 -> args0 }).orElse(null),
driftStatus = javaType.driftStatus().map({ args0 -> args0 }).orElse(null),
organizationalUnitId = javaType.organizationalUnitId().map({ args0 -> args0 }).orElse(null),
region = javaType.region().map({ args0 -> args0 }).orElse(null),
stackId = javaType.stackId().map({ args0 -> args0 }).orElse(null),
stackSetId = javaType.stackSetId().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 -> args0 }).orElse(null),
statusReason = javaType.statusReason().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy