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

com.pulumi.awsnative.controltower.kotlin.outputs.GetLandingZoneResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.controltower.kotlin.outputs

import com.pulumi.awsnative.controltower.kotlin.enums.LandingZoneDriftStatus
import com.pulumi.awsnative.controltower.kotlin.enums.LandingZoneStatus
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn The ARN of the landing zone.
 * @property driftStatus The drift status of the landing zone.
 * @property landingZoneIdentifier The unique identifier of the landing zone.
 * @property latestAvailableVersion The latest available version of the landing zone.
 * @property manifest The landing zone manifest JSON text file that specifies the landing zone configurations.
 * Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::ControlTower::LandingZone` for more information about the expected schema for this property.
 * @property status The landing zone deployment status. One of `ACTIVE` , `PROCESSING` , `FAILED` .
 * @property tags Tags to be applied to the landing zone.
 * @property version The landing zone's current deployed version.
 */
public data class GetLandingZoneResult(
    public val arn: String? = null,
    public val driftStatus: LandingZoneDriftStatus? = null,
    public val landingZoneIdentifier: String? = null,
    public val latestAvailableVersion: String? = null,
    public val manifest: Any? = null,
    public val status: LandingZoneStatus? = null,
    public val tags: List? = null,
    public val version: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.controltower.outputs.GetLandingZoneResult): GetLandingZoneResult = GetLandingZoneResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            driftStatus = javaType.driftStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.controltower.kotlin.enums.LandingZoneDriftStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            landingZoneIdentifier = javaType.landingZoneIdentifier().map({ args0 -> args0 }).orElse(null),
            latestAvailableVersion = javaType.latestAvailableVersion().map({ args0 -> args0 }).orElse(null),
            manifest = javaType.manifest().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.controltower.kotlin.enums.LandingZoneStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy