Interface CfnDataSourcePropsMixin.RedshiftParametersProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.RedshiftParametersProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static interface CfnDataSourcePropsMixin.RedshiftParametersProperty
extends software.amazon.jsii.JsiiSerializable
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.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.quicksight.mixins.*;
RedshiftParametersProperty redshiftParametersProperty = RedshiftParametersProperty.builder()
.clusterId("clusterId")
.database("database")
.host("host")
.iamParameters(RedshiftIAMParametersProperty.builder()
.autoCreateDatabaseUser(false)
.databaseGroups(List.of("databaseGroups"))
.databaseUser("databaseUser")
.roleArn("roleArn")
.build())
.identityCenterConfiguration(IdentityCenterConfigurationProperty.builder()
.enableIdentityPropagation(false)
.build())
.port(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSourcePropsMixin.RedshiftParametersPropertystatic final classAn implementation forCfnDataSourcePropsMixin.RedshiftParametersProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringCluster ID.default StringDatabase.default StringgetHost()Host.default ObjectAn optional parameter that uses IAM authentication to grant Quick Sight access to your cluster.default ObjectAn optional parameter that configures IAM Identity Center authentication to grant Quick Sight access to your cluster.default NumbergetPort()Port.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterId
Cluster ID.This field can be blank if the
HostandPortare provided.- See Also:
-
getDatabase
Database.- See Also:
-
getHost
Host.This field can be blank if
ClusterIdis provided.- See Also:
-
getIamParameters
An optional parameter that uses IAM authentication to grant Quick Sight access to your cluster.This parameter can be used instead of DataSourceCredentials .
Returns union: either
IResolvableorCfnDataSourcePropsMixin.RedshiftIAMParametersProperty- See Also:
-
getIdentityCenterConfiguration
An optional parameter that configures IAM Identity Center authentication to grant Quick Sight access to your cluster.This parameter can only be specified if your Quick Sight account is configured with IAM Identity Center.
Returns union: either
IResolvableorCfnDataSourcePropsMixin.IdentityCenterConfigurationProperty- See Also:
-
getPort
Port.This field can be blank if the
ClusterIdis provided.Default: - 0
- See Also:
-
builder
-