All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.rds.kotlin.outputs.DbInstanceEndpoint.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.rds.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:
 *   +   ``CreateDBInstance``
 *   +   ``DescribeDBInstances``
 *   +   ``DeleteDBInstance``
 *  For the data structure that represents Amazon Aurora DB cluster endpoints, see ``DBClusterEndpoint``.
 * @property address Specifies the DNS address of the DB instance.
 * @property hostedZoneId Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
 * @property port Specifies the port that the database engine is listening on.
 */
public data class DbInstanceEndpoint(
    public val address: String? = null,
    public val hostedZoneId: String? = null,
    public val port: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.rds.outputs.DbInstanceEndpoint): DbInstanceEndpoint = DbInstanceEndpoint(
            address = javaType.address().map({ args0 -> args0 }).orElse(null),
            hostedZoneId = javaType.hostedZoneId().map({ args0 -> args0 }).orElse(null),
            port = javaType.port().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy