com.pulumi.awsnative.sso.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.sso.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.sso.ApplicationArgs.builder
import com.pulumi.awsnative.sso.kotlin.enums.ApplicationStatus
import com.pulumi.awsnative.sso.kotlin.inputs.ApplicationPortalOptionsConfigurationArgs
import com.pulumi.awsnative.sso.kotlin.inputs.ApplicationPortalOptionsConfigurationArgsBuilder
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 Identity Center (SSO) Application
* @property applicationProviderArn The ARN of the application provider under which the operation will run
* @property description The description information for the Identity Center (SSO) Application
* @property instanceArn The ARN of the instance of IAM Identity Center under which the operation will run
* @property name The name you want to assign to this Identity Center (SSO) Application
* @property portalOptions A structure that describes the options for the portal associated with an application
* @property status Specifies whether the application is enabled or disabled
* @property tags Specifies tags to be attached to the application
*/
public data class ApplicationArgs(
public val applicationProviderArn: Output? = null,
public val description: Output? = null,
public val instanceArn: Output? = null,
public val name: Output? = null,
public val portalOptions: Output? = null,
public val status: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sso.ApplicationArgs =
com.pulumi.awsnative.sso.ApplicationArgs.builder()
.applicationProviderArn(applicationProviderArn?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.instanceArn(instanceArn?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.portalOptions(portalOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.status(status?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ApplicationArgs].
*/
@PulumiTagMarker
public class ApplicationArgsBuilder internal constructor() {
private var applicationProviderArn: Output? = null
private var description: Output? = null
private var instanceArn: Output? = null
private var name: Output? = null
private var portalOptions: Output? = null
private var status: Output? = null
private var tags: Output>? = null
/**
* @param value The ARN of the application provider under which the operation will run
*/
@JvmName("ikwgmabrhwqlwpko")
public suspend fun applicationProviderArn(`value`: Output) {
this.applicationProviderArn = value
}
/**
* @param value The description information for the Identity Center (SSO) Application
*/
@JvmName("kgyqdyqqriktfpjm")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The ARN of the instance of IAM Identity Center under which the operation will run
*/
@JvmName("lihaftjrbrbnxsao")
public suspend fun instanceArn(`value`: Output) {
this.instanceArn = value
}
/**
* @param value The name you want to assign to this Identity Center (SSO) Application
*/
@JvmName("pjksicpvcifdscnb")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A structure that describes the options for the portal associated with an application
*/
@JvmName("lflbfdssfbxvsvbc")
public suspend fun portalOptions(`value`: Output) {
this.portalOptions = value
}
/**
* @param value Specifies whether the application is enabled or disabled
*/
@JvmName("trljqvsukufqdoeu")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value Specifies tags to be attached to the application
*/
@JvmName("hmemxatqrsmeiksf")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("gtvnaygrmpotfdya")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Specifies tags to be attached to the application
*/
@JvmName("pmqaictgmnneaskx")
public suspend fun tags(values: List