![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.servicecatalogappregistry.kotlin.ResourceAssociationArgs.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.servicecatalogappregistry.kotlin
import com.pulumi.awsnative.servicecatalogappregistry.ResourceAssociationArgs.builder
import com.pulumi.awsnative.servicecatalogappregistry.kotlin.enums.ResourceAssociationResourceType
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
/**
* Resource Schema for AWS::ServiceCatalogAppRegistry::ResourceAssociation
* @property application The name or the Id of the Application.
* @property resource The name or the Id of the Resource.
* @property resourceType The type of the CFN Resource for now it's enum CFN_STACK.
*/
public data class ResourceAssociationArgs(
public val application: Output? = null,
public val resource: Output? = null,
public val resourceType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.servicecatalogappregistry.ResourceAssociationArgs =
com.pulumi.awsnative.servicecatalogappregistry.ResourceAssociationArgs.builder()
.application(application?.applyValue({ args0 -> args0 }))
.resource(resource?.applyValue({ args0 -> args0 }))
.resourceType(resourceType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ResourceAssociationArgs].
*/
@PulumiTagMarker
public class ResourceAssociationArgsBuilder internal constructor() {
private var application: Output? = null
private var resource: Output? = null
private var resourceType: Output? = null
/**
* @param value The name or the Id of the Application.
*/
@JvmName("wbtpdqijbqqvntkp")
public suspend fun application(`value`: Output) {
this.application = value
}
/**
* @param value The name or the Id of the Resource.
*/
@JvmName("oxmuknrrryyxaeyv")
public suspend fun resource(`value`: Output) {
this.resource = value
}
/**
* @param value The type of the CFN Resource for now it's enum CFN_STACK.
*/
@JvmName("krbomufrqlqknhbu")
public suspend fun resourceType(`value`: Output) {
this.resourceType = value
}
/**
* @param value The name or the Id of the Application.
*/
@JvmName("qgkweljevlwwdhra")
public suspend fun application(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.application = mapped
}
/**
* @param value The name or the Id of the Resource.
*/
@JvmName("flahnuvathvvqbca")
public suspend fun resource(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resource = mapped
}
/**
* @param value The type of the CFN Resource for now it's enum CFN_STACK.
*/
@JvmName("jnsvoxwrxpsogjio")
public suspend fun resourceType(`value`: ResourceAssociationResourceType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceType = mapped
}
internal fun build(): ResourceAssociationArgs = ResourceAssociationArgs(
application = application,
resource = resource,
resourceType = resourceType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy