com.pulumi.aws.codebuild.kotlin.inputs.ProjectBuildBatchConfigRestrictionsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.codebuild.kotlin.inputs
import com.pulumi.aws.codebuild.inputs.ProjectBuildBatchConfigRestrictionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property computeTypesAlloweds An array of strings that specify the compute types that are allowed for the batch build. See [Build environment compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the AWS CodeBuild User Guide for these values.
* @property maximumBuildsAllowed Specifies the maximum number of builds allowed.
*/
public data class ProjectBuildBatchConfigRestrictionsArgs(
public val computeTypesAlloweds: Output>? = null,
public val maximumBuildsAllowed: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.codebuild.inputs.ProjectBuildBatchConfigRestrictionsArgs =
com.pulumi.aws.codebuild.inputs.ProjectBuildBatchConfigRestrictionsArgs.builder()
.computeTypesAlloweds(computeTypesAlloweds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.maximumBuildsAllowed(maximumBuildsAllowed?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProjectBuildBatchConfigRestrictionsArgs].
*/
@PulumiTagMarker
public class ProjectBuildBatchConfigRestrictionsArgsBuilder internal constructor() {
private var computeTypesAlloweds: Output>? = null
private var maximumBuildsAllowed: Output? = null
/**
* @param value An array of strings that specify the compute types that are allowed for the batch build. See [Build environment compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the AWS CodeBuild User Guide for these values.
*/
@JvmName("erbeqmlnblnqdygv")
public suspend fun computeTypesAlloweds(`value`: Output>) {
this.computeTypesAlloweds = value
}
@JvmName("xfkiwjrldsaqqpmx")
public suspend fun computeTypesAlloweds(vararg values: Output) {
this.computeTypesAlloweds = Output.all(values.asList())
}
/**
* @param values An array of strings that specify the compute types that are allowed for the batch build. See [Build environment compute types](https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the AWS CodeBuild User Guide for these values.
*/
@JvmName("mduucwgelxmnvuxs")
public suspend fun computeTypesAlloweds(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy