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

com.pulumi.awsnative.nimblestudio.kotlin.StreamingImageArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.nimblestudio.kotlin

import com.pulumi.awsnative.nimblestudio.StreamingImageArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName

/**
 * Represents a streaming session machine image that can be used to launch a streaming session
 * @property description 

A human-readable description of the streaming image.

* @property ec2ImageId

The ID of an EC2 machine image with which to create this streaming image.

* @property name

A friendly name for a streaming image resource.

* @property studioId

The studioId.

* @property tags An array of key-value pairs to apply to this resource. * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . */ public data class StreamingImageArgs( public val description: Output? = null, public val ec2ImageId: Output? = null, public val name: Output? = null, public val studioId: Output? = null, public val tags: Output>? = null, ) : ConvertibleToJava { override fun toJava(): com.pulumi.awsnative.nimblestudio.StreamingImageArgs = com.pulumi.awsnative.nimblestudio.StreamingImageArgs.builder() .description(description?.applyValue({ args0 -> args0 })) .ec2ImageId(ec2ImageId?.applyValue({ args0 -> args0 })) .name(name?.applyValue({ args0 -> args0 })) .studioId(studioId?.applyValue({ args0 -> args0 })) .tags( tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }), ).build() } /** * Builder for [StreamingImageArgs]. */ @PulumiTagMarker public class StreamingImageArgsBuilder internal constructor() { private var description: Output? = null private var ec2ImageId: Output? = null private var name: Output? = null private var studioId: Output? = null private var tags: Output>? = null /** * @param value

A human-readable description of the streaming image.

*/ @JvmName("jhvitvbmmrkwgmae") public suspend fun description(`value`: Output) { this.description = value } /** * @param value

The ID of an EC2 machine image with which to create this streaming image.

*/ @JvmName("riedwaiobpjfskbh") public suspend fun ec2ImageId(`value`: Output) { this.ec2ImageId = value } /** * @param value

A friendly name for a streaming image resource.

*/ @JvmName("ibfqifpbnblcrjhp") public suspend fun name(`value`: Output) { this.name = value } /** * @param value

The studioId.

*/ @JvmName("epgfxnvbdgwykyfd") public suspend fun studioId(`value`: Output) { this.studioId = value } /** * @param value An array of key-value pairs to apply to this resource. * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . */ @JvmName("jqpnodgfqjbtbkjy") public suspend fun tags(`value`: Output>) { this.tags = value } /** * @param value

A human-readable description of the streaming image.

*/ @JvmName("aqhmtymmcsrridop") public suspend fun description(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.description = mapped } /** * @param value

The ID of an EC2 machine image with which to create this streaming image.

*/ @JvmName("ehpmmmhtgvkvmjbs") public suspend fun ec2ImageId(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.ec2ImageId = mapped } /** * @param value

A friendly name for a streaming image resource.

*/ @JvmName("niahrfggjojlxuce") public suspend fun name(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.name = mapped } /** * @param value

The studioId.

*/ @JvmName("uthsmyttosfabpme") public suspend fun studioId(`value`: String?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.studioId = mapped } /** * @param value An array of key-value pairs to apply to this resource. * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . */ @JvmName("yqqhmfnxnmjklxtt") public suspend fun tags(`value`: Map?) { val toBeMapped = value val mapped = toBeMapped?.let({ args0 -> of(args0) }) this.tags = mapped } /** * @param values An array of key-value pairs to apply to this resource. * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . */ @JvmName("mftlhnckyfsfkfhq") public fun tags(vararg values: Pair) { val toBeMapped = values.toMap() val mapped = toBeMapped.let({ args0 -> of(args0) }) this.tags = mapped } internal fun build(): StreamingImageArgs = StreamingImageArgs( description = description, ec2ImageId = ec2ImageId, name = name, studioId = studioId, tags = tags, ) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy