
com.pulumi.awsnative.elasticbeanstalk.kotlin.inputs.ApplicationVersionSourceBundleArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.elasticbeanstalk.kotlin.inputs
import com.pulumi.awsnative.elasticbeanstalk.inputs.ApplicationVersionSourceBundleArgs.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 s3Bucket The Amazon S3 bucket where the data is located.
* @property s3Key The Amazon S3 key where the data is located.
*/
public data class ApplicationVersionSourceBundleArgs(
public val s3Bucket: Output,
public val s3Key: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.elasticbeanstalk.inputs.ApplicationVersionSourceBundleArgs =
com.pulumi.awsnative.elasticbeanstalk.inputs.ApplicationVersionSourceBundleArgs.builder()
.s3Bucket(s3Bucket.applyValue({ args0 -> args0 }))
.s3Key(s3Key.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationVersionSourceBundleArgs].
*/
@PulumiTagMarker
public class ApplicationVersionSourceBundleArgsBuilder internal constructor() {
private var s3Bucket: Output? = null
private var s3Key: Output? = null
/**
* @param value The Amazon S3 bucket where the data is located.
*/
@JvmName("iiebnhpddvxgvlbi")
public suspend fun s3Bucket(`value`: Output) {
this.s3Bucket = value
}
/**
* @param value The Amazon S3 key where the data is located.
*/
@JvmName("wfxnelaejqlutedq")
public suspend fun s3Key(`value`: Output) {
this.s3Key = value
}
/**
* @param value The Amazon S3 bucket where the data is located.
*/
@JvmName("gqxaxhfjummlsqfv")
public suspend fun s3Bucket(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.s3Bucket = mapped
}
/**
* @param value The Amazon S3 key where the data is located.
*/
@JvmName("lqmpqcamgnfmduac")
public suspend fun s3Key(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.s3Key = mapped
}
internal fun build(): ApplicationVersionSourceBundleArgs = ApplicationVersionSourceBundleArgs(
s3Bucket = s3Bucket ?: throw PulumiNullFieldException("s3Bucket"),
s3Key = s3Key ?: throw PulumiNullFieldException("s3Key"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy