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

com.pulumi.awsnative.quicksight.kotlin.outputs.DataSourceRedshiftParameters.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import kotlin.Double
import kotlin.String
import kotlin.Suppress

/**
 * 

The parameters for Amazon Redshift. The ClusterId field can be blank if * Host and Port are both set. The Host and Port fields can be blank if the ClusterId field is set.

* @property clusterId

Cluster ID. This field can be blank if the Host and Port are * provided.

* @property database

Database.

* @property host

Host. This field can be blank if ClusterId is provided.

* @property iamParameters An optional parameter that uses IAM authentication to grant Amazon QuickSight access to your cluster. This parameter can be used instead of [DataSourceCredentials](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DataSourceCredentials.html) . * @property identityCenterConfiguration An optional parameter that configures IAM Identity Center authentication to grant Amazon QuickSight access to your cluster. * This parameter can only be specified if your Amazon QuickSight account is configured with IAM Identity Center. * @property port

Port. This field can be blank if the ClusterId is provided.

*/ public data class DataSourceRedshiftParameters( public val clusterId: String? = null, public val database: String, public val host: String? = null, public val iamParameters: DataSourceRedshiftIamParameters? = null, public val identityCenterConfiguration: DataSourceIdentityCenterConfiguration? = null, public val port: Double? = null, ) { public companion object { public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DataSourceRedshiftParameters): DataSourceRedshiftParameters = DataSourceRedshiftParameters( clusterId = javaType.clusterId().map({ args0 -> args0 }).orElse(null), database = javaType.database(), host = javaType.host().map({ args0 -> args0 }).orElse(null), iamParameters = javaType.iamParameters().map({ args0 -> args0.let({ args0 -> com.pulumi.awsnative.quicksight.kotlin.outputs.DataSourceRedshiftIamParameters.Companion.toKotlin(args0) }) }).orElse(null), identityCenterConfiguration = javaType.identityCenterConfiguration().map({ args0 -> args0.let({ args0 -> com.pulumi.awsnative.quicksight.kotlin.outputs.DataSourceIdentityCenterConfiguration.Companion.toKotlin(args0) }) }).orElse(null), port = javaType.port().map({ args0 -> args0 }).orElse(null), ) } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy