![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.appstream.kotlin.EntitlementArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appstream.kotlin
import com.pulumi.awsnative.appstream.EntitlementArgs.builder
import com.pulumi.awsnative.appstream.kotlin.inputs.EntitlementAttributeArgs
import com.pulumi.awsnative.appstream.kotlin.inputs.EntitlementAttributeArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
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
/**
* Resource Type definition for AWS::AppStream::Entitlement
* @property appVisibility Specifies whether to entitle all apps or only selected apps.
* @property attributes The attributes of the entitlement.
* @property description The description of the entitlement.
* @property name The name of the entitlement.
* @property stackName The name of the stack.
*/
public data class EntitlementArgs(
public val appVisibility: Output? = null,
public val attributes: Output>? = null,
public val description: Output? = null,
public val name: Output? = null,
public val stackName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appstream.EntitlementArgs =
com.pulumi.awsnative.appstream.EntitlementArgs.builder()
.appVisibility(appVisibility?.applyValue({ args0 -> args0 }))
.attributes(
attributes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.stackName(stackName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EntitlementArgs].
*/
@PulumiTagMarker
public class EntitlementArgsBuilder internal constructor() {
private var appVisibility: Output? = null
private var attributes: Output>? = null
private var description: Output? = null
private var name: Output? = null
private var stackName: Output? = null
/**
* @param value Specifies whether to entitle all apps or only selected apps.
*/
@JvmName("mqtwrhaskoxxegql")
public suspend fun appVisibility(`value`: Output) {
this.appVisibility = value
}
/**
* @param value The attributes of the entitlement.
*/
@JvmName("cqobhtfkkacqgwgu")
public suspend fun attributes(`value`: Output>) {
this.attributes = value
}
@JvmName("reeremvttqxniyth")
public suspend fun attributes(vararg values: Output) {
this.attributes = Output.all(values.asList())
}
/**
* @param values The attributes of the entitlement.
*/
@JvmName("qqwdfqafluqtqhnv")
public suspend fun attributes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy