
com.pulumi.aws.computeoptimizer.kotlin.outputs.RecommendationPreferencesPreferredResource.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.computeoptimizer.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property excludeLists The preferred resource type values to exclude from the recommendation candidates. If this isn’t specified, all supported resources are included by default.
* @property includeLists The preferred resource type values to include in the recommendation candidates. You can specify the exact resource type value, such as `"m5.large"`, or use wild card expressions, such as `"m5"`. If this isn’t specified, all supported resources are included by default.
* @property name
*/
public data class RecommendationPreferencesPreferredResource(
public val excludeLists: List? = null,
public val includeLists: List? = null,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.computeoptimizer.outputs.RecommendationPreferencesPreferredResource): RecommendationPreferencesPreferredResource = RecommendationPreferencesPreferredResource(
excludeLists = javaType.excludeLists().map({ args0 -> args0 }),
includeLists = javaType.includeLists().map({ args0 -> args0 }),
name = javaType.name(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy