
com.pulumi.awsnative.eks.kotlin.inputs.FargateProfileSelectorArgs.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.eks.kotlin.inputs
import com.pulumi.awsnative.eks.inputs.FargateProfileSelectorArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property labels The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
* @property namespace The Kubernetes `namespace` that the selector should match.
*/
public data class FargateProfileSelectorArgs(
public val labels: Output>? = null,
public val namespace: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.eks.inputs.FargateProfileSelectorArgs =
com.pulumi.awsnative.eks.inputs.FargateProfileSelectorArgs.builder()
.labels(labels?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.namespace(namespace.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FargateProfileSelectorArgs].
*/
@PulumiTagMarker
public class FargateProfileSelectorArgsBuilder internal constructor() {
private var labels: Output>? = null
private var namespace: Output? = null
/**
* @param value The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
*/
@JvmName("tycjrooodlujwrsj")
public suspend fun labels(`value`: Output>) {
this.labels = value
}
@JvmName("ikpltgahhokpbbrh")
public suspend fun labels(vararg values: Output) {
this.labels = Output.all(values.asList())
}
/**
* @param values The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
*/
@JvmName("cggbljmpmpmeslms")
public suspend fun labels(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy