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

com.pulumi.awsnative.timestream.kotlin.outputs.GetInfluxDbInstanceResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.timestream.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.timestream.kotlin.enums.InfluxDbInstanceStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property arn The Amazon Resource Name (ARN) that is associated with the InfluxDB instance.
 * @property availabilityZone The Availability Zone (AZ) where the InfluxDB instance is created.
 * @property dbParameterGroupIdentifier The name of an existing InfluxDB parameter group.
 * @property endpoint The connection endpoint for the InfluxDB instance.
 * @property id The service generated unique identifier for InfluxDB instance.
 * @property influxAuthParametersSecretArn The Auth parameters secret Amazon Resource name (ARN) that is associated with the InfluxDB instance.
 * @property logDeliveryConfiguration Configuration for sending logs to customer account from the InfluxDB instance.
 * @property secondaryAvailabilityZone The Secondary Availability Zone (AZ) where the InfluxDB instance is created, if DeploymentType is set as WITH_MULTIAZ_STANDBY.
 * @property status Status of the InfluxDB Instance.
 * @property tags An arbitrary set of tags (key-value pairs) for this DB instance.
 */
public data class GetInfluxDbInstanceResult(
    public val arn: String? = null,
    public val availabilityZone: String? = null,
    public val dbParameterGroupIdentifier: String? = null,
    public val endpoint: String? = null,
    public val id: String? = null,
    public val influxAuthParametersSecretArn: String? = null,
    public val logDeliveryConfiguration: LogDeliveryConfigurationProperties? = null,
    public val secondaryAvailabilityZone: String? = null,
    public val status: InfluxDbInstanceStatus? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.timestream.outputs.GetInfluxDbInstanceResult): GetInfluxDbInstanceResult = GetInfluxDbInstanceResult(
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            availabilityZone = javaType.availabilityZone().map({ args0 -> args0 }).orElse(null),
            dbParameterGroupIdentifier = javaType.dbParameterGroupIdentifier().map({ args0 ->
                args0
            }).orElse(null),
            endpoint = javaType.endpoint().map({ args0 -> args0 }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            influxAuthParametersSecretArn = javaType.influxAuthParametersSecretArn().map({ args0 ->
                args0
            }).orElse(null),
            logDeliveryConfiguration = javaType.logDeliveryConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.timestream.kotlin.outputs.LogDeliveryConfigurationProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            secondaryAvailabilityZone = javaType.secondaryAvailabilityZone().map({ args0 ->
                args0
            }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.timestream.kotlin.enums.InfluxDbInstanceStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy