com.pulumi.awsnative.batch.kotlin.inputs.JobDefinitionFargatePlatformConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.batch.kotlin.inputs
import com.pulumi.awsnative.batch.inputs.JobDefinitionFargatePlatformConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property platformVersion The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* .
*/
public data class JobDefinitionFargatePlatformConfigurationArgs(
public val platformVersion: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.batch.inputs.JobDefinitionFargatePlatformConfigurationArgs =
com.pulumi.awsnative.batch.inputs.JobDefinitionFargatePlatformConfigurationArgs.builder()
.platformVersion(platformVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [JobDefinitionFargatePlatformConfigurationArgs].
*/
@PulumiTagMarker
public class JobDefinitionFargatePlatformConfigurationArgsBuilder internal constructor() {
private var platformVersion: Output? = null
/**
* @param value The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* .
*/
@JvmName("xcqiomjayyfskood")
public suspend fun platformVersion(`value`: Output) {
this.platformVersion = value
}
/**
* @param value The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs that are running on Fargate resources. If one isn't specified, the `LATEST` platform version is used by default. This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see [AWS Fargate platform versions](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html) in the *Amazon Elastic Container Service Developer Guide* .
*/
@JvmName("kiqlmahuloabxfjn")
public suspend fun platformVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.platformVersion = mapped
}
internal fun build(): JobDefinitionFargatePlatformConfigurationArgs =
JobDefinitionFargatePlatformConfigurationArgs(
platformVersion = platformVersion,
)
}