
com.pulumi.aws.appsync.kotlin.inputs.DataSourceRelationalDatabaseConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.appsync.kotlin.inputs
import com.pulumi.aws.appsync.inputs.DataSourceRelationalDatabaseConfigArgs.builder
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.jvm.JvmName
/**
*
* @property httpEndpointConfig Amazon RDS HTTP endpoint configuration. See `http_endpoint_config` Block for details.
* @property sourceType Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.
*/
public data class DataSourceRelationalDatabaseConfigArgs(
public val httpEndpointConfig: Output? =
null,
public val sourceType: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.appsync.inputs.DataSourceRelationalDatabaseConfigArgs =
com.pulumi.aws.appsync.inputs.DataSourceRelationalDatabaseConfigArgs.builder()
.httpEndpointConfig(
httpEndpointConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.sourceType(sourceType?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataSourceRelationalDatabaseConfigArgs].
*/
@PulumiTagMarker
public class DataSourceRelationalDatabaseConfigArgsBuilder internal constructor() {
private var httpEndpointConfig: Output? =
null
private var sourceType: Output? = null
/**
* @param value Amazon RDS HTTP endpoint configuration. See `http_endpoint_config` Block for details.
*/
@JvmName("onsjvscuamjablnx")
public suspend fun httpEndpointConfig(`value`: Output) {
this.httpEndpointConfig = value
}
/**
* @param value Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.
*/
@JvmName("hlxxbbmmormesghq")
public suspend fun sourceType(`value`: Output) {
this.sourceType = value
}
/**
* @param value Amazon RDS HTTP endpoint configuration. See `http_endpoint_config` Block for details.
*/
@JvmName("uxlrdqbpbjbaeokw")
public suspend fun httpEndpointConfig(`value`: DataSourceRelationalDatabaseConfigHttpEndpointConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.httpEndpointConfig = mapped
}
/**
* @param argument Amazon RDS HTTP endpoint configuration. See `http_endpoint_config` Block for details.
*/
@JvmName("ojguiewcjjcqodgd")
public suspend fun httpEndpointConfig(argument: suspend DataSourceRelationalDatabaseConfigHttpEndpointConfigArgsBuilder.() -> Unit) {
val toBeMapped = DataSourceRelationalDatabaseConfigHttpEndpointConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.httpEndpointConfig = mapped
}
/**
* @param value Source type for the relational database. Valid values: `RDS_HTTP_ENDPOINT`.
*/
@JvmName("dxjjdxhauxfedtpd")
public suspend fun sourceType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sourceType = mapped
}
internal fun build(): DataSourceRelationalDatabaseConfigArgs =
DataSourceRelationalDatabaseConfigArgs(
httpEndpointConfig = httpEndpointConfig,
sourceType = sourceType,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy