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

com.pulumi.awsnative.lookoutmetrics.kotlin.outputs.AnomalyDetectorRdsSourceConfig.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lookoutmetrics.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property databaseHost The host name of the database.
 * @property databaseName The name of the RDS database.
 * @property databasePort The port number where the database can be accessed.
 * @property dbInstanceIdentifier A string identifying the database instance.
 * @property roleArn The Amazon Resource Name (ARN) of the role.
 * @property secretManagerArn The Amazon Resource Name (ARN) of the AWS Secrets Manager role.
 * @property tableName The name of the table in the database.
 * @property vpcConfiguration An object containing information about the Amazon Virtual Private Cloud (VPC) configuration.
 */
public data class AnomalyDetectorRdsSourceConfig(
    public val databaseHost: String,
    public val databaseName: String,
    public val databasePort: Int,
    public val dbInstanceIdentifier: String,
    public val roleArn: String,
    public val secretManagerArn: String,
    public val tableName: String,
    public val vpcConfiguration: AnomalyDetectorVpcConfiguration,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lookoutmetrics.outputs.AnomalyDetectorRdsSourceConfig): AnomalyDetectorRdsSourceConfig = AnomalyDetectorRdsSourceConfig(
            databaseHost = javaType.databaseHost(),
            databaseName = javaType.databaseName(),
            databasePort = javaType.databasePort(),
            dbInstanceIdentifier = javaType.dbInstanceIdentifier(),
            roleArn = javaType.roleArn(),
            secretManagerArn = javaType.secretManagerArn(),
            tableName = javaType.tableName(),
            vpcConfiguration = javaType.vpcConfiguration().let({ args0 ->
                com.pulumi.awsnative.lookoutmetrics.kotlin.outputs.AnomalyDetectorVpcConfiguration.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy