
com.pulumi.awsnative.connect.kotlin.IntegrationAssociationArgs.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.connect.kotlin
import com.pulumi.awsnative.connect.IntegrationAssociationArgs.builder
import com.pulumi.awsnative.connect.kotlin.enums.IntegrationAssociationIntegrationType
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 Type definition for AWS::Connect::IntegrationAssociation
* ## Example Usage
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* ### Example
* No Java example available.
* @property instanceId The Amazon Resource Name (ARN) of the instance.
* *Minimum* : `1`
* *Maximum* : `100`
* @property integrationArn ARN of the integration being associated with the instance.
* *Minimum* : `1`
* *Maximum* : `140`
* @property integrationType Specifies the integration type to be associated with the instance.
* *Allowed Values* : `LEX_BOT` | `LAMBDA_FUNCTION`
*/
public data class IntegrationAssociationArgs(
public val instanceId: Output? = null,
public val integrationArn: Output? = null,
public val integrationType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.connect.IntegrationAssociationArgs =
com.pulumi.awsnative.connect.IntegrationAssociationArgs.builder()
.instanceId(instanceId?.applyValue({ args0 -> args0 }))
.integrationArn(integrationArn?.applyValue({ args0 -> args0 }))
.integrationType(
integrationType?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [IntegrationAssociationArgs].
*/
@PulumiTagMarker
public class IntegrationAssociationArgsBuilder internal constructor() {
private var instanceId: Output? = null
private var integrationArn: Output? = null
private var integrationType: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the instance.
* *Minimum* : `1`
* *Maximum* : `100`
*/
@JvmName("mlgiwcwjnxbvbdsu")
public suspend fun instanceId(`value`: Output) {
this.instanceId = value
}
/**
* @param value ARN of the integration being associated with the instance.
* *Minimum* : `1`
* *Maximum* : `140`
*/
@JvmName("qeqgicibenlufslu")
public suspend fun integrationArn(`value`: Output) {
this.integrationArn = value
}
/**
* @param value Specifies the integration type to be associated with the instance.
* *Allowed Values* : `LEX_BOT` | `LAMBDA_FUNCTION`
*/
@JvmName("yyvufnurfqibrgph")
public suspend fun integrationType(`value`: Output) {
this.integrationType = value
}
/**
* @param value The Amazon Resource Name (ARN) of the instance.
* *Minimum* : `1`
* *Maximum* : `100`
*/
@JvmName("hscyhlnbtoughppg")
public suspend fun instanceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.instanceId = mapped
}
/**
* @param value ARN of the integration being associated with the instance.
* *Minimum* : `1`
* *Maximum* : `140`
*/
@JvmName("tiocdsieddevlbkm")
public suspend fun integrationArn(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.integrationArn = mapped
}
/**
* @param value Specifies the integration type to be associated with the instance.
* *Allowed Values* : `LEX_BOT` | `LAMBDA_FUNCTION`
*/
@JvmName("qglsgcqmkbffyqrr")
public suspend fun integrationType(`value`: IntegrationAssociationIntegrationType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.integrationType = mapped
}
internal fun build(): IntegrationAssociationArgs = IntegrationAssociationArgs(
instanceId = instanceId,
integrationArn = integrationArn,
integrationType = integrationType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy