
com.pulumi.awsnative.codepipeline.kotlin.outputs.GetPipelineResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.codepipeline.kotlin.outputs
import com.pulumi.awsnative.codepipeline.kotlin.enums.PipelineExecutionMode
import com.pulumi.awsnative.codepipeline.kotlin.enums.PipelineType
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 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 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@\-_]+.
* @property version The version of the pipeline.
*/
public data class GetPipelineResult(
public val artifactStore: PipelineArtifactStore? = null,
public val artifactStores: List? = null,
public val disableInboundStageTransitions: List? = null,
public val executionMode: PipelineExecutionMode? = null,
public val pipelineType: PipelineType? = null,
public val roleArn: String? = null,
public val stages: List? = null,
public val tags: List? = null,
public val triggers: List? = null,
public val variables: List? = null,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.codepipeline.outputs.GetPipelineResult): GetPipelineResult = GetPipelineResult(
artifactStore = javaType.artifactStore().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codepipeline.kotlin.outputs.PipelineArtifactStore.Companion.toKotlin(args0)
})
}).orElse(null),
artifactStores = javaType.artifactStores().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codepipeline.kotlin.outputs.PipelineArtifactStoreMap.Companion.toKotlin(args0)
})
}),
disableInboundStageTransitions = javaType.disableInboundStageTransitions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codepipeline.kotlin.outputs.PipelineStageTransition.Companion.toKotlin(args0)
})
}),
executionMode = javaType.executionMode().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codepipeline.kotlin.enums.PipelineExecutionMode.Companion.toKotlin(args0)
})
}).orElse(null),
pipelineType = javaType.pipelineType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codepipeline.kotlin.enums.PipelineType.Companion.toKotlin(args0)
})
}).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
stages = javaType.stages().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codepipeline.kotlin.outputs.PipelineStageDeclaration.Companion.toKotlin(args0)
})
}),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
triggers = javaType.triggers().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codepipeline.kotlin.outputs.PipelineTriggerDeclaration.Companion.toKotlin(args0)
})
}),
variables = javaType.variables().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codepipeline.kotlin.outputs.PipelineVariableDeclaration.Companion.toKotlin(args0)
})
}),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy