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

com.pulumi.aws.opensearch.kotlin.outputs.GetDomainAutoTuneOption.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.opensearch.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property desiredState Auto-Tune desired state for the domain.
 * @property maintenanceSchedules A list of the nested configurations for the Auto-Tune maintenance windows of the domain.
 * @property rollbackOnDisable Whether the domain is set to roll back to default Auto-Tune settings when disabling Auto-Tune.
 * @property useOffPeakWindow Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
 */
public data class GetDomainAutoTuneOption(
    public val desiredState: String,
    public val maintenanceSchedules: List,
    public val rollbackOnDisable: String,
    public val useOffPeakWindow: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.opensearch.outputs.GetDomainAutoTuneOption): GetDomainAutoTuneOption = GetDomainAutoTuneOption(
            desiredState = javaType.desiredState(),
            maintenanceSchedules = javaType.maintenanceSchedules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.aws.opensearch.kotlin.outputs.GetDomainAutoTuneOptionMaintenanceSchedule.Companion.toKotlin(args0)
                })
            }),
            rollbackOnDisable = javaType.rollbackOnDisable(),
            useOffPeakWindow = javaType.useOffPeakWindow(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy