
com.pulumi.awsnative.elasticbeanstalk.kotlin.ApplicationVersionArgs.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.elasticbeanstalk.kotlin
import com.pulumi.awsnative.elasticbeanstalk.ApplicationVersionArgs.builder
import com.pulumi.awsnative.elasticbeanstalk.kotlin.inputs.ApplicationVersionSourceBundleArgs
import com.pulumi.awsnative.elasticbeanstalk.kotlin.inputs.ApplicationVersionSourceBundleArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::ElasticBeanstalk::ApplicationVersion
* @property applicationName The name of the Elastic Beanstalk application that is associated with this application version.
* @property description A description of this application version.
* @property sourceBundle The Amazon S3 bucket and key that identify the location of the source bundle for this version.
*/
public data class ApplicationVersionArgs(
public val applicationName: Output? = null,
public val description: Output? = null,
public val sourceBundle: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.elasticbeanstalk.ApplicationVersionArgs =
com.pulumi.awsnative.elasticbeanstalk.ApplicationVersionArgs.builder()
.applicationName(applicationName?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.sourceBundle(sourceBundle?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ApplicationVersionArgs].
*/
@PulumiTagMarker
public class ApplicationVersionArgsBuilder internal constructor() {
private var applicationName: Output? = null
private var description: Output? = null
private var sourceBundle: Output? = null
/**
* @param value The name of the Elastic Beanstalk application that is associated with this application version.
*/
@JvmName("jftisbhqpaosmear")
public suspend fun applicationName(`value`: Output) {
this.applicationName = value
}
/**
* @param value A description of this application version.
*/
@JvmName("aliraxsxvalcneht")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The Amazon S3 bucket and key that identify the location of the source bundle for this version.
*/
@JvmName("kctrxjjgpmvyxaeg")
public suspend fun sourceBundle(`value`: Output) {
this.sourceBundle = value
}
/**
* @param value The name of the Elastic Beanstalk application that is associated with this application version.
*/
@JvmName("ewylsqebwoslgdlh")
public suspend fun applicationName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.applicationName = mapped
}
/**
* @param value A description of this application version.
*/
@JvmName("bgpcfbnfgsegaxbv")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The Amazon S3 bucket and key that identify the location of the source bundle for this version.
*/
@JvmName("jxbkfkykbiloyeve")
public suspend fun sourceBundle(`value`: ApplicationVersionSourceBundleArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceBundle = mapped
}
/**
* @param argument The Amazon S3 bucket and key that identify the location of the source bundle for this version.
*/
@JvmName("oefpgqgmmbbvoewa")
public suspend fun sourceBundle(argument: suspend ApplicationVersionSourceBundleArgsBuilder.() -> Unit) {
val toBeMapped = ApplicationVersionSourceBundleArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.sourceBundle = mapped
}
internal fun build(): ApplicationVersionArgs = ApplicationVersionArgs(
applicationName = applicationName,
description = description,
sourceBundle = sourceBundle,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy