
com.pulumi.awsnative.launchwizard.kotlin.outputs.GetDeploymentResult.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.launchwizard.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.launchwizard.kotlin.enums.DeploymentStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn ARN of the LaunchWizard deployment
* @property createdAt Timestamp of LaunchWizard deployment creation
* @property deletedAt Timestamp of LaunchWizard deployment deletion
* @property deploymentId Deployment ID of the LaunchWizard deployment
* @property resourceGroup Resource Group Name created for LaunchWizard deployment
* @property status Status of LaunchWizard deployment
* @property tags Tags for LaunchWizard deployment
*/
public data class GetDeploymentResult(
public val arn: String? = null,
public val createdAt: String? = null,
public val deletedAt: String? = null,
public val deploymentId: String? = null,
public val resourceGroup: String? = null,
public val status: DeploymentStatus? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.launchwizard.outputs.GetDeploymentResult): GetDeploymentResult = GetDeploymentResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
deletedAt = javaType.deletedAt().map({ args0 -> args0 }).orElse(null),
deploymentId = javaType.deploymentId().map({ args0 -> args0 }).orElse(null),
resourceGroup = javaType.resourceGroup().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.launchwizard.kotlin.enums.DeploymentStatus.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