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

com.pulumi.aws.docdb.kotlin.outputs.GetEngineVersionResult.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.docdb.kotlin.outputs

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

/**
 * A collection of values returned by getEngineVersion.
 * @property engine
 * @property engineDescription Description of the database engine.
 * @property exportableLogTypes Set of log types that the database engine has available for export to CloudWatch Logs.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property parameterGroupFamily
 * @property preferredVersions
 * @property supportsLogExportsToCloudwatch Indicates whether the engine version supports exporting the log types specified by `exportable_log_types` to CloudWatch Logs.
 * @property validUpgradeTargets A set of engine versions that this database engine version can be upgraded to.
 * @property version
 * @property versionDescription Description of the database engine version.
 */
public data class GetEngineVersionResult(
    public val engine: String? = null,
    public val engineDescription: String,
    public val exportableLogTypes: List,
    public val id: String,
    public val parameterGroupFamily: String,
    public val preferredVersions: List? = null,
    public val supportsLogExportsToCloudwatch: Boolean,
    public val validUpgradeTargets: List,
    public val version: String,
    public val versionDescription: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.docdb.outputs.GetEngineVersionResult): GetEngineVersionResult = GetEngineVersionResult(
            engine = javaType.engine().map({ args0 -> args0 }).orElse(null),
            engineDescription = javaType.engineDescription(),
            exportableLogTypes = javaType.exportableLogTypes().map({ args0 -> args0 }),
            id = javaType.id(),
            parameterGroupFamily = javaType.parameterGroupFamily(),
            preferredVersions = javaType.preferredVersions().map({ args0 -> args0 }),
            supportsLogExportsToCloudwatch = javaType.supportsLogExportsToCloudwatch(),
            validUpgradeTargets = javaType.validUpgradeTargets().map({ args0 -> args0 }),
            version = javaType.version(),
            versionDescription = javaType.versionDescription(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy