
com.pulumi.awsnative.rds.kotlin.outputs.GetDbProxyEndpointResult.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.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.rds.kotlin.enums.DbProxyEndpointTargetRole
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property dbProxyEndpointArn The Amazon Resource Name (ARN) for the DB proxy endpoint.
* @property endpoint The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.
* @property isDefault A value that indicates whether this endpoint is the default endpoint for the associated DB proxy. Default DB proxy endpoints always have read/write capability. Other endpoints that you associate with the DB proxy can be either read/write or read-only.
* @property tags An optional set of key-value pairs to associate arbitrary data of your choosing with the DB proxy endpoint.
* @property targetRole A value that indicates whether the DB proxy endpoint can be used for read/write or read-only operations.
* @property vpcId VPC ID to associate with the new DB proxy endpoint.
* @property vpcSecurityGroupIds VPC security group IDs to associate with the new DB proxy endpoint.
*/
public data class GetDbProxyEndpointResult(
public val dbProxyEndpointArn: String? = null,
public val endpoint: String? = null,
public val isDefault: Boolean? = null,
public val tags: List? = null,
public val targetRole: DbProxyEndpointTargetRole? = null,
public val vpcId: String? = null,
public val vpcSecurityGroupIds: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.rds.outputs.GetDbProxyEndpointResult): GetDbProxyEndpointResult = GetDbProxyEndpointResult(
dbProxyEndpointArn = javaType.dbProxyEndpointArn().map({ args0 -> args0 }).orElse(null),
endpoint = javaType.endpoint().map({ args0 -> args0 }).orElse(null),
isDefault = javaType.isDefault().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
targetRole = javaType.targetRole().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.rds.kotlin.enums.DbProxyEndpointTargetRole.Companion.toKotlin(args0)
})
}).orElse(null),
vpcId = javaType.vpcId().map({ args0 -> args0 }).orElse(null),
vpcSecurityGroupIds = javaType.vpcSecurityGroupIds().map({ args0 -> args0 }),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy