com.pulumi.aws.m2.kotlin.inputs.ApplicationDefinitionArgs.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.m2.kotlin.inputs
import com.pulumi.aws.m2.inputs.ApplicationDefinitionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property content JSON application definition. Either this or `s3_location` must be specified.
* @property s3Location Location of the application definition in S3. Either this or `content` must be specified.
*/
public data class ApplicationDefinitionArgs(
public val content: Output? = null,
public val s3Location: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.m2.inputs.ApplicationDefinitionArgs =
com.pulumi.aws.m2.inputs.ApplicationDefinitionArgs.builder()
.content(content?.applyValue({ args0 -> args0 }))
.s3Location(s3Location?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationDefinitionArgs].
*/
@PulumiTagMarker
public class ApplicationDefinitionArgsBuilder internal constructor() {
private var content: Output? = null
private var s3Location: Output? = null
/**
* @param value JSON application definition. Either this or `s3_location` must be specified.
*/
@JvmName("dmlwhoswnmrnipdo")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value Location of the application definition in S3. Either this or `content` must be specified.
*/
@JvmName("egjddfbijnnssngk")
public suspend fun s3Location(`value`: Output) {
this.s3Location = value
}
/**
* @param value JSON application definition. Either this or `s3_location` must be specified.
*/
@JvmName("odpqgtugkcgnxdbd")
public suspend fun content(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.content = mapped
}
/**
* @param value Location of the application definition in S3. Either this or `content` must be specified.
*/
@JvmName("dppidcuhexxewgum")
public suspend fun s3Location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3Location = mapped
}
internal fun build(): ApplicationDefinitionArgs = ApplicationDefinitionArgs(
content = content,
s3Location = s3Location,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy