![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.systemsmanagersap.kotlin.ApplicationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.systemsmanagersap.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.systemsmanagersap.ApplicationArgs.builder
import com.pulumi.awsnative.systemsmanagersap.kotlin.enums.ApplicationType
import com.pulumi.awsnative.systemsmanagersap.kotlin.inputs.ApplicationCredentialArgs
import com.pulumi.awsnative.systemsmanagersap.kotlin.inputs.ApplicationCredentialArgsBuilder
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 schema for AWS::SystemsManagerSAP::Application
* @property applicationId The ID of the application.
* @property applicationType The type of the application.
* @property credentials The credentials of the SAP application.
* @property databaseArn The ARN of the SAP HANA database
* @property instances The Amazon EC2 instances on which your SAP application is running.
* @property sapInstanceNumber The SAP instance number of the application.
* @property sid The System ID of the application.
* @property tags The tags of a SystemsManagerSAP application.
*/
public data class ApplicationArgs(
public val applicationId: Output? = null,
public val applicationType: Output? = null,
public val credentials: Output>? = null,
public val databaseArn: Output? = null,
public val instances: Output>? = null,
public val sapInstanceNumber: Output? = null,
public val sid: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.systemsmanagersap.ApplicationArgs =
com.pulumi.awsnative.systemsmanagersap.ApplicationArgs.builder()
.applicationId(applicationId?.applyValue({ args0 -> args0 }))
.applicationType(applicationType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.credentials(
credentials?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.databaseArn(databaseArn?.applyValue({ args0 -> args0 }))
.instances(instances?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.sapInstanceNumber(sapInstanceNumber?.applyValue({ args0 -> args0 }))
.sid(sid?.applyValue({ 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 applicationId: Output? = null
private var applicationType: Output? = null
private var credentials: Output>? = null
private var databaseArn: Output? = null
private var instances: Output>? = null
private var sapInstanceNumber: Output? = null
private var sid: Output? = null
private var tags: Output>? = null
/**
* @param value The ID of the application.
*/
@JvmName("vwlfcorpnqlqpcqb")
public suspend fun applicationId(`value`: Output) {
this.applicationId = value
}
/**
* @param value The type of the application.
*/
@JvmName("vnssmvdrcgcvepsk")
public suspend fun applicationType(`value`: Output) {
this.applicationType = value
}
/**
* @param value The credentials of the SAP application.
*/
@JvmName("dyovxjispqrbimis")
public suspend fun credentials(`value`: Output>) {
this.credentials = value
}
@JvmName("sopxeckqdbquxsvs")
public suspend fun credentials(vararg values: Output) {
this.credentials = Output.all(values.asList())
}
/**
* @param values The credentials of the SAP application.
*/
@JvmName("myqnoyrqfmhodgel")
public suspend fun credentials(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy