![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.deadline.kotlin.FleetArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.deadline.kotlin
import com.pulumi.awsnative.deadline.FleetArgs.builder
import com.pulumi.awsnative.deadline.kotlin.inputs.FleetConfiguration0PropertiesArgs
import com.pulumi.awsnative.deadline.kotlin.inputs.FleetConfiguration1PropertiesArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Either
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Definition of AWS::Deadline::Fleet Resource Type
* @property configuration The configuration details for the fleet.
* @property description A description that helps identify what the fleet is used for.
* @property displayName The display name of the fleet 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 maxWorkerCount The maximum number of workers specified in the fleet.
* @property minWorkerCount The minimum number of workers in the fleet.
* @property roleArn The IAM role that workers in the fleet use when processing jobs.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class FleetArgs(
public val configuration: Output>? = null,
public val description: Output? = null,
public val displayName: Output? = null,
public val farmId: Output? = null,
public val maxWorkerCount: Output? = null,
public val minWorkerCount: Output? = null,
public val roleArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.deadline.FleetArgs =
com.pulumi.awsnative.deadline.FleetArgs.builder()
.configuration(
configuration?.applyValue({ args0 ->
args0.transform({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.farmId(farmId?.applyValue({ args0 -> args0 }))
.maxWorkerCount(maxWorkerCount?.applyValue({ args0 -> args0 }))
.minWorkerCount(minWorkerCount?.applyValue({ args0 -> args0 }))
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [FleetArgs].
*/
@PulumiTagMarker
public class FleetArgsBuilder internal constructor() {
private var configuration:
Output>? = null
private var description: Output? = null
private var displayName: Output? = null
private var farmId: Output? = null
private var maxWorkerCount: Output? = null
private var minWorkerCount: Output? = null
private var roleArn: Output? = null
private var tags: Output>? = null
/**
* @param value The configuration details for the fleet.
*/
@JvmName("anikwliivcttwahc")
public suspend fun configuration(`value`: Output>) {
this.configuration = value
}
/**
* @param value A description that helps identify what the fleet is used for.
*/
@JvmName("rpucyacpwmxmlcss")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The display name of the fleet 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.
*/
@JvmName("mnnvwccyxiqosnkm")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value The farm ID.
*/
@JvmName("naipfsjyrptuctuw")
public suspend fun farmId(`value`: Output) {
this.farmId = value
}
/**
* @param value The maximum number of workers specified in the fleet.
*/
@JvmName("voefngmpruouconb")
public suspend fun maxWorkerCount(`value`: Output) {
this.maxWorkerCount = value
}
/**
* @param value The minimum number of workers in the fleet.
*/
@JvmName("jsqikgoowaukwtbt")
public suspend fun minWorkerCount(`value`: Output) {
this.minWorkerCount = value
}
/**
* @param value The IAM role that workers in the fleet use when processing jobs.
*/
@JvmName("jkerfcdblyksbiem")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("uptpgiqchyvnmaqq")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("gshonvnbxuaoahbx")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("tsbuuilrbymrwfdf")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy