com.pulumi.aws.codepipeline.kotlin.inputs.PipelineTriggerGitConfigurationPushBranchesArgs.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.codepipeline.kotlin.inputs
import com.pulumi.aws.codepipeline.inputs.PipelineTriggerGitConfigurationPushBranchesArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property excludes A list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
* @property includes A list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.
*/
public data class PipelineTriggerGitConfigurationPushBranchesArgs(
public val excludes: Output>? = null,
public val includes: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.codepipeline.inputs.PipelineTriggerGitConfigurationPushBranchesArgs =
com.pulumi.aws.codepipeline.inputs.PipelineTriggerGitConfigurationPushBranchesArgs.builder()
.excludes(excludes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.includes(includes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [PipelineTriggerGitConfigurationPushBranchesArgs].
*/
@PulumiTagMarker
public class PipelineTriggerGitConfigurationPushBranchesArgsBuilder internal constructor() {
private var excludes: Output>? = null
private var includes: Output>? = null
/**
* @param value A list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
*/
@JvmName("hjrhxeatqnnvofxt")
public suspend fun excludes(`value`: Output>) {
this.excludes = value
}
@JvmName("gvmnumlxmonveaxm")
public suspend fun excludes(vararg values: Output) {
this.excludes = Output.all(values.asList())
}
/**
* @param values A list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.
*/
@JvmName("nertgtjpvmtwxceh")
public suspend fun excludes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy