com.pulumi.aws.ssm.kotlin.inputs.AssociationOutputLocationArgs.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.ssm.kotlin.inputs
import com.pulumi.aws.ssm.inputs.AssociationOutputLocationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property s3BucketName The S3 bucket name.
* @property s3KeyPrefix The S3 bucket prefix. Results stored in the root if not configured.
* @property s3Region The S3 bucket region.
* Targets specify what instance IDs or tags to apply the document to and has these keys:
*/
public data class AssociationOutputLocationArgs(
public val s3BucketName: Output,
public val s3KeyPrefix: Output? = null,
public val s3Region: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.ssm.inputs.AssociationOutputLocationArgs =
com.pulumi.aws.ssm.inputs.AssociationOutputLocationArgs.builder()
.s3BucketName(s3BucketName.applyValue({ args0 -> args0 }))
.s3KeyPrefix(s3KeyPrefix?.applyValue({ args0 -> args0 }))
.s3Region(s3Region?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AssociationOutputLocationArgs].
*/
@PulumiTagMarker
public class AssociationOutputLocationArgsBuilder internal constructor() {
private var s3BucketName: Output? = null
private var s3KeyPrefix: Output? = null
private var s3Region: Output? = null
/**
* @param value The S3 bucket name.
*/
@JvmName("ayqpsawmjpfbelkr")
public suspend fun s3BucketName(`value`: Output) {
this.s3BucketName = value
}
/**
* @param value The S3 bucket prefix. Results stored in the root if not configured.
*/
@JvmName("jqucprcfiuhkpqav")
public suspend fun s3KeyPrefix(`value`: Output) {
this.s3KeyPrefix = value
}
/**
* @param value The S3 bucket region.
* Targets specify what instance IDs or tags to apply the document to and has these keys:
*/
@JvmName("sikkqqskhhowdago")
public suspend fun s3Region(`value`: Output) {
this.s3Region = value
}
/**
* @param value The S3 bucket name.
*/
@JvmName("jnlbwhwquwovsdai")
public suspend fun s3BucketName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.s3BucketName = mapped
}
/**
* @param value The S3 bucket prefix. Results stored in the root if not configured.
*/
@JvmName("guivgclueqxtxtkv")
public suspend fun s3KeyPrefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3KeyPrefix = mapped
}
/**
* @param value The S3 bucket region.
* Targets specify what instance IDs or tags to apply the document to and has these keys:
*/
@JvmName("ljkdcltfqevkficm")
public suspend fun s3Region(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3Region = mapped
}
internal fun build(): AssociationOutputLocationArgs = AssociationOutputLocationArgs(
s3BucketName = s3BucketName ?: throw PulumiNullFieldException("s3BucketName"),
s3KeyPrefix = s3KeyPrefix,
s3Region = s3Region,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy