![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.rds.kotlin.outputs.GetDbProxyResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.rds.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property auth The authorization mechanism that the proxy uses.
* @property dbProxyArn The Amazon Resource Name (ARN) for the proxy.
* @property debugLogging Whether the proxy includes detailed information about SQL statements in its logs.
* @property endpoint The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
* @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 vpcId VPC ID to associate with the new DB proxy.
* @property vpcSecurityGroupIds VPC security group IDs to associate with the new proxy.
*/
public data class GetDbProxyResult(
public val auth: List? = null,
public val dbProxyArn: String? = null,
public val debugLogging: Boolean? = null,
public val endpoint: String? = null,
public val idleClientTimeout: Int? = null,
public val requireTls: Boolean? = null,
public val roleArn: String? = null,
public val tags: List? = null,
public val vpcId: String? = null,
public val vpcSecurityGroupIds: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.rds.outputs.GetDbProxyResult): GetDbProxyResult = GetDbProxyResult(
auth = javaType.auth().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.rds.kotlin.outputs.DbProxyAuthFormat.Companion.toKotlin(args0)
})
}),
dbProxyArn = javaType.dbProxyArn().map({ args0 -> args0 }).orElse(null),
debugLogging = javaType.debugLogging().map({ args0 -> args0 }).orElse(null),
endpoint = javaType.endpoint().map({ args0 -> args0 }).orElse(null),
idleClientTimeout = javaType.idleClientTimeout().map({ args0 -> args0 }).orElse(null),
requireTls = javaType.requireTls().map({ args0 -> args0 }).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
vpcId = javaType.vpcId().map({ args0 -> args0 }).orElse(null),
vpcSecurityGroupIds = javaType.vpcSecurityGroupIds().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy