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

com.pulumi.awsnative.ec2.kotlin.outputs.GetHostResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ec2.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property autoPlacement Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID.
 * @property hostId ID of the host created.
 * @property hostMaintenance Automatically allocates a new dedicated host and moves your instances on to it if a degradation is detected on your current host.
 * @property hostRecovery Indicates whether to enable or disable host recovery for the Dedicated Host. Host recovery is disabled by default.
 */
public data class GetHostResult(
    public val autoPlacement: String? = null,
    public val hostId: String? = null,
    public val hostMaintenance: String? = null,
    public val hostRecovery: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.GetHostResult): GetHostResult =
            GetHostResult(
                autoPlacement = javaType.autoPlacement().map({ args0 -> args0 }).orElse(null),
                hostId = javaType.hostId().map({ args0 -> args0 }).orElse(null),
                hostMaintenance = javaType.hostMaintenance().map({ args0 -> args0 }).orElse(null),
                hostRecovery = javaType.hostRecovery().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy