Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.codepipeline.kotlin
import com.pulumi.awsnative.codepipeline.PipelineArgs.builder
import com.pulumi.awsnative.codepipeline.kotlin.enums.PipelineExecutionMode
import com.pulumi.awsnative.codepipeline.kotlin.enums.PipelineType
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineArtifactStoreArgs
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineArtifactStoreArgsBuilder
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineArtifactStoreMapArgs
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineArtifactStoreMapArgsBuilder
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineStageDeclarationArgs
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineStageDeclarationArgsBuilder
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineStageTransitionArgs
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineStageTransitionArgsBuilder
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineTriggerDeclarationArgs
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineTriggerDeclarationArgsBuilder
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineVariableDeclarationArgs
import com.pulumi.awsnative.codepipeline.kotlin.inputs.PipelineVariableDeclarationArgsBuilder
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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The AWS::CodePipeline::Pipeline resource creates a CodePipeline pipeline that describes how software changes go through a release process.
* @property artifactStore The S3 bucket where artifacts for the pipeline are stored.
* @property artifactStores A mapping of artifactStore objects and their corresponding AWS Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.
* @property disableInboundStageTransitions Represents the input of a DisableStageTransition action.
* @property executionMode The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
* @property name The name of the pipeline.
* @property pipelineType CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.
* @property restartExecutionOnUpdate Indicates whether to rerun the CodePipeline pipeline after you update it.
* @property roleArn The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no actionRoleArn, or to use to assume roles for actions with an actionRoleArn
* @property stages Represents information about a stage and its definition.
* @property tags Specifies the tags applied to the pipeline.
* @property triggers The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.
* @property variables A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9@\-_]+.
*/
public data class PipelineArgs(
public val artifactStore: Output? = null,
public val artifactStores: Output>? = null,
public val disableInboundStageTransitions: Output>? = null,
public val executionMode: Output? = null,
public val name: Output? = null,
public val pipelineType: Output? = null,
public val restartExecutionOnUpdate: Output? = null,
public val roleArn: Output? = null,
public val stages: Output>? = null,
public val tags: Output>? = null,
public val triggers: Output>? = null,
public val variables: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.codepipeline.PipelineArgs =
com.pulumi.awsnative.codepipeline.PipelineArgs.builder()
.artifactStore(artifactStore?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.artifactStores(
artifactStores?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.disableInboundStageTransitions(
disableInboundStageTransitions?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.executionMode(executionMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.pipelineType(pipelineType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.restartExecutionOnUpdate(restartExecutionOnUpdate?.applyValue({ args0 -> args0 }))
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.stages(stages?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.triggers(
triggers?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.variables(
variables?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PipelineArgs].
*/
@PulumiTagMarker
public class PipelineArgsBuilder internal constructor() {
private var artifactStore: Output? = null
private var artifactStores: Output>? = null
private var disableInboundStageTransitions: Output>? = null
private var executionMode: Output? = null
private var name: Output? = null
private var pipelineType: Output? = null
private var restartExecutionOnUpdate: Output? = null
private var roleArn: Output? = null
private var stages: Output>? = null
private var tags: Output>? = null
private var triggers: Output>? = null
private var variables: Output>? = null
/**
* @param value The S3 bucket where artifacts for the pipeline are stored.
*/
@JvmName("wdnxopfsvrjjkpbk")
public suspend fun artifactStore(`value`: Output) {
this.artifactStore = value
}
/**
* @param value A mapping of artifactStore objects and their corresponding AWS Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.
*/
@JvmName("uslelmrhhawfyfdx")
public suspend fun artifactStores(`value`: Output>) {
this.artifactStores = value
}
@JvmName("nkvqircyniauokll")
public suspend fun artifactStores(vararg values: Output) {
this.artifactStores = Output.all(values.asList())
}
/**
* @param values A mapping of artifactStore objects and their corresponding AWS Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.
*/
@JvmName("bocmysndnjhgmtvf")
public suspend fun artifactStores(values: List