com.pulumi.awsnative.codepipeline.kotlin.outputs.PipelineArtifactStoreMap.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 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(),
)
}
}