com.pulumi.awsnative.deadline.kotlin.QueueArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.deadline.kotlin
import com.pulumi.awsnative.deadline.QueueArgs.builder
import com.pulumi.awsnative.deadline.kotlin.enums.QueueDefaultQueueBudgetAction
import com.pulumi.awsnative.deadline.kotlin.inputs.QueueJobAttachmentSettingsArgs
import com.pulumi.awsnative.deadline.kotlin.inputs.QueueJobAttachmentSettingsArgsBuilder
import com.pulumi.awsnative.deadline.kotlin.inputs.QueueJobRunAsUserArgs
import com.pulumi.awsnative.deadline.kotlin.inputs.QueueJobRunAsUserArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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
/**
* Definition of AWS::Deadline::Queue Resource Type
* @property allowedStorageProfileIds The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems.
* @property defaultBudgetAction The default action taken on a queue summary if a budget wasn't configured.
* @property description A description of the queue that helps identify what the queue is used for.
* @property displayName The display name of the queue summary to update.
* > This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
* @property farmId The farm ID.
* @property jobAttachmentSettings The job attachment settings. These are the Amazon S3 bucket name and the Amazon S3 prefix.
* @property jobRunAsUser Identifies the user for a job.
* @property requiredFileSystemLocationNames The file system location that the queue uses.
* @property roleArn The Amazon Resource Name (ARN) of the IAM role that workers use when running jobs in this queue.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class QueueArgs(
public val allowedStorageProfileIds: Output>? = null,
public val defaultBudgetAction: Output? = null,
public val description: Output? = null,
public val displayName: Output? = null,
public val farmId: Output? = null,
public val jobAttachmentSettings: Output? = null,
public val jobRunAsUser: Output? = null,
public val requiredFileSystemLocationNames: Output>? = null,
public val roleArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.deadline.QueueArgs =
com.pulumi.awsnative.deadline.QueueArgs.builder()
.allowedStorageProfileIds(
allowedStorageProfileIds?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.defaultBudgetAction(
defaultBudgetAction?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.farmId(farmId?.applyValue({ args0 -> args0 }))
.jobAttachmentSettings(
jobAttachmentSettings?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.jobRunAsUser(jobRunAsUser?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.requiredFileSystemLocationNames(
requiredFileSystemLocationNames?.applyValue({ args0 ->
args0.map({ args0 -> args0 })
}),
)
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [QueueArgs].
*/
@PulumiTagMarker
public class QueueArgsBuilder internal constructor() {
private var allowedStorageProfileIds: Output>? = null
private var defaultBudgetAction: Output? = null
private var description: Output? = null
private var displayName: Output? = null
private var farmId: Output? = null
private var jobAttachmentSettings: Output? = null
private var jobRunAsUser: Output? = null
private var requiredFileSystemLocationNames: Output>? = null
private var roleArn: Output? = null
private var tags: Output>? = null
/**
* @param value The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems.
*/
@JvmName("vyfppxmelvxhaubq")
public suspend fun allowedStorageProfileIds(`value`: Output>) {
this.allowedStorageProfileIds = value
}
@JvmName("dkmhqsccvbegxvfe")
public suspend fun allowedStorageProfileIds(vararg values: Output) {
this.allowedStorageProfileIds = Output.all(values.asList())
}
/**
* @param values The identifiers of the storage profiles that this queue can use to share assets between workers using different operating systems.
*/
@JvmName("nwdukbwogqseolxi")
public suspend fun allowedStorageProfileIds(values: List