
com.pulumi.awsnative.appintegrations.kotlin.ApplicationArgs.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.appintegrations.kotlin
import com.pulumi.awsnative.appintegrations.ApplicationArgs.builder
import com.pulumi.awsnative.appintegrations.kotlin.inputs.ApplicationSourceConfigPropertiesArgs
import com.pulumi.awsnative.appintegrations.kotlin.inputs.ApplicationSourceConfigPropertiesArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
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.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS:AppIntegrations::Application
* @property applicationSourceConfig Application source config
* @property description The application description.
* @property name The name of the application.
* @property namespace The namespace of the application.
* @property permissions The configuration of events or requests that the application has access to.
* @property tags The tags (keys and values) associated with the application.
*/
public data class ApplicationArgs(
public val applicationSourceConfig: Output? = null,
public val description: Output? = null,
public val name: Output? = null,
public val namespace: Output? = null,
public val permissions: Output>? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appintegrations.ApplicationArgs =
com.pulumi.awsnative.appintegrations.ApplicationArgs.builder()
.applicationSourceConfig(
applicationSourceConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.namespace(namespace?.applyValue({ args0 -> args0 }))
.permissions(permissions?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ApplicationArgs].
*/
@PulumiTagMarker
public class ApplicationArgsBuilder internal constructor() {
private var applicationSourceConfig: Output? = null
private var description: Output? = null
private var name: Output? = null
private var namespace: Output? = null
private var permissions: Output>? = null
private var tags: Output>? = null
/**
* @param value Application source config
*/
@JvmName("ttoympcbdikeribj")
public suspend fun applicationSourceConfig(`value`: Output) {
this.applicationSourceConfig = value
}
/**
* @param value The application description.
*/
@JvmName("fnanicvlhtauvyyl")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name of the application.
*/
@JvmName("iyrehobuklhrbcog")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The namespace of the application.
*/
@JvmName("gxkiuhfakdpxsoes")
public suspend fun namespace(`value`: Output) {
this.namespace = value
}
/**
* @param value The configuration of events or requests that the application has access to.
*/
@JvmName("eajyuloehyleagxj")
public suspend fun permissions(`value`: Output>) {
this.permissions = value
}
@JvmName("putrtubivftpmwpe")
public suspend fun permissions(vararg values: Output) {
this.permissions = Output.all(values.asList())
}
/**
* @param values The configuration of events or requests that the application has access to.
*/
@JvmName("wbtapkmwdmulfaqa")
public suspend fun permissions(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy