All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.codepipeline.kotlin.outputs.PipelineArtifactStoreMap.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.codepipeline.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * 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 artifactStore Represents information about the S3 bucket where artifacts are stored for the pipeline.
 * > You must include either `artifactStore` or `artifactStores` in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use `artifactStores` .
 * @property region The action declaration's AWS Region, such as us-east-1.
 */
public data class PipelineArtifactStoreMap(
    public val artifactStore: PipelineArtifactStore,
    public val region: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.codepipeline.outputs.PipelineArtifactStoreMap): PipelineArtifactStoreMap = PipelineArtifactStoreMap(
            artifactStore = javaType.artifactStore().let({ args0 ->
                com.pulumi.awsnative.codepipeline.kotlin.outputs.PipelineArtifactStore.Companion.toKotlin(args0)
            }),
            region = javaType.region(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy