com.pulumi.awsnative.kotlin.outputs.GetPartitionResult.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.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property dnsSuffix Base DNS domain name for the current partition (e.g., `amazonaws.com` in AWS Commercial, `amazonaws.com.cn` in AWS China).
* @property partition Identifier of the current partition (e.g., `aws` in AWS Commercial, `aws-cn` in AWS China).
*/
public data class GetPartitionResult(
public val dnsSuffix: String,
public val partition: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.outputs.GetPartitionResult): GetPartitionResult = GetPartitionResult(
dnsSuffix = javaType.dnsSuffix(),
partition = javaType.partition(),
)
}
}