
com.pulumi.awsnative.rds.kotlin.DbProxyArgs.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.rds.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.rds.DbProxyArgs.builder
import com.pulumi.awsnative.rds.kotlin.enums.DbProxyEngineFamily
import com.pulumi.awsnative.rds.kotlin.inputs.DbProxyAuthFormatArgs
import com.pulumi.awsnative.rds.kotlin.inputs.DbProxyAuthFormatArgsBuilder
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.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::RDS::DBProxy
* @property auth The authorization mechanism that the proxy uses.
* @property dbProxyName The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region.
* @property debugLogging Whether the proxy includes detailed information about SQL statements in its logs.
* @property engineFamily The kinds of databases that the proxy can connect to.
* @property idleClientTimeout The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it.
* @property requireTls A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
* @property roleArn The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
* @property tags An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
* @property vpcSecurityGroupIds VPC security group IDs to associate with the new proxy.
* @property vpcSubnetIds VPC subnet IDs to associate with the new proxy.
*/
public data class DbProxyArgs(
public val auth: Output>? = null,
public val dbProxyName: Output? = null,
public val debugLogging: Output? = null,
public val engineFamily: Output? = null,
public val idleClientTimeout: Output? = null,
public val requireTls: Output? = null,
public val roleArn: Output? = null,
public val tags: Output>? = null,
public val vpcSecurityGroupIds: Output>? = null,
public val vpcSubnetIds: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rds.DbProxyArgs =
com.pulumi.awsnative.rds.DbProxyArgs.builder()
.auth(auth?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.dbProxyName(dbProxyName?.applyValue({ args0 -> args0 }))
.debugLogging(debugLogging?.applyValue({ args0 -> args0 }))
.engineFamily(engineFamily?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.idleClientTimeout(idleClientTimeout?.applyValue({ args0 -> args0 }))
.requireTls(requireTls?.applyValue({ args0 -> args0 }))
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.vpcSecurityGroupIds(vpcSecurityGroupIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.vpcSubnetIds(vpcSubnetIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DbProxyArgs].
*/
@PulumiTagMarker
public class DbProxyArgsBuilder internal constructor() {
private var auth: Output>? = null
private var dbProxyName: Output? = null
private var debugLogging: Output? = null
private var engineFamily: Output? = null
private var idleClientTimeout: Output? = null
private var requireTls: Output? = null
private var roleArn: Output? = null
private var tags: Output>? = null
private var vpcSecurityGroupIds: Output>? = null
private var vpcSubnetIds: Output>? = null
/**
* @param value The authorization mechanism that the proxy uses.
*/
@JvmName("suliowqtscldxvwh")
public suspend fun auth(`value`: Output>) {
this.auth = value
}
@JvmName("abkrnpgbpngdqtvj")
public suspend fun auth(vararg values: Output) {
this.auth = Output.all(values.asList())
}
/**
* @param values The authorization mechanism that the proxy uses.
*/
@JvmName("ciphlwsuuqaeybre")
public suspend fun auth(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy