Class CfnDataSourcePropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDataSourcePropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:03.673Z")
@Stability(Stable)
public class CfnDataSourcePropsMixin
extends Mixin
implements software.constructs.IMixin
Creates a data source.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.quicksight.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnDataSourcePropsMixin cfnDataSourcePropsMixin = CfnDataSourcePropsMixin.Builder.create(CfnDataSourceMixinProps.builder()
.alternateDataSourceParameters(List.of(DataSourceParametersProperty.builder()
.amazonElasticsearchParameters(AmazonElasticsearchParametersProperty.builder()
.domain("domain")
.build())
.amazonOpenSearchParameters(AmazonOpenSearchParametersProperty.builder()
.domain("domain")
.build())
.athenaParameters(AthenaParametersProperty.builder()
.identityCenterConfiguration(IdentityCenterConfigurationProperty.builder()
.enableIdentityPropagation(false)
.build())
.roleArn("roleArn")
.workGroup("workGroup")
.build())
.auroraParameters(AuroraParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.auroraPostgreSqlParameters(AuroraPostgreSqlParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.databricksParameters(DatabricksParametersProperty.builder()
.host("host")
.port(123)
.sqlEndpointPath("sqlEndpointPath")
.build())
.mariaDbParameters(MariaDbParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.mySqlParameters(MySqlParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.oracleParameters(OracleParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.useServiceName(false)
.build())
.postgreSqlParameters(PostgreSqlParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.prestoParameters(PrestoParametersProperty.builder()
.catalog("catalog")
.host("host")
.port(123)
.build())
.rdsParameters(RdsParametersProperty.builder()
.database("database")
.instanceId("instanceId")
.build())
.redshiftParameters(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())
.s3Parameters(S3ParametersProperty.builder()
.manifestFileLocation(ManifestFileLocationProperty.builder()
.bucket("bucket")
.key("key")
.build())
.roleArn("roleArn")
.build())
.snowflakeParameters(SnowflakeParametersProperty.builder()
.authenticationType("authenticationType")
.database("database")
.databaseAccessControlRole("databaseAccessControlRole")
.host("host")
.oAuthParameters(OAuthParametersProperty.builder()
.identityProviderResourceUri("identityProviderResourceUri")
.identityProviderVpcConnectionProperties(VpcConnectionPropertiesProperty.builder()
.vpcConnectionArn("vpcConnectionArn")
.build())
.oAuthScope("oAuthScope")
.tokenProviderUrl("tokenProviderUrl")
.build())
.warehouse("warehouse")
.build())
.sparkParameters(SparkParametersProperty.builder()
.host("host")
.port(123)
.build())
.sqlServerParameters(SqlServerParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.starburstParameters(StarburstParametersProperty.builder()
.authenticationType("authenticationType")
.catalog("catalog")
.databaseAccessControlRole("databaseAccessControlRole")
.host("host")
.oAuthParameters(OAuthParametersProperty.builder()
.identityProviderResourceUri("identityProviderResourceUri")
.identityProviderVpcConnectionProperties(VpcConnectionPropertiesProperty.builder()
.vpcConnectionArn("vpcConnectionArn")
.build())
.oAuthScope("oAuthScope")
.tokenProviderUrl("tokenProviderUrl")
.build())
.port(123)
.productType("productType")
.build())
.teradataParameters(TeradataParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.trinoParameters(TrinoParametersProperty.builder()
.catalog("catalog")
.host("host")
.port(123)
.build())
.build()))
.awsAccountId("awsAccountId")
.credentials(DataSourceCredentialsProperty.builder()
.copySourceArn("copySourceArn")
.credentialPair(CredentialPairProperty.builder()
.alternateDataSourceParameters(List.of(DataSourceParametersProperty.builder()
.amazonElasticsearchParameters(AmazonElasticsearchParametersProperty.builder()
.domain("domain")
.build())
.amazonOpenSearchParameters(AmazonOpenSearchParametersProperty.builder()
.domain("domain")
.build())
.athenaParameters(AthenaParametersProperty.builder()
.identityCenterConfiguration(IdentityCenterConfigurationProperty.builder()
.enableIdentityPropagation(false)
.build())
.roleArn("roleArn")
.workGroup("workGroup")
.build())
.auroraParameters(AuroraParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.auroraPostgreSqlParameters(AuroraPostgreSqlParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.databricksParameters(DatabricksParametersProperty.builder()
.host("host")
.port(123)
.sqlEndpointPath("sqlEndpointPath")
.build())
.mariaDbParameters(MariaDbParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.mySqlParameters(MySqlParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.oracleParameters(OracleParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.useServiceName(false)
.build())
.postgreSqlParameters(PostgreSqlParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.prestoParameters(PrestoParametersProperty.builder()
.catalog("catalog")
.host("host")
.port(123)
.build())
.rdsParameters(RdsParametersProperty.builder()
.database("database")
.instanceId("instanceId")
.build())
.redshiftParameters(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())
.s3Parameters(S3ParametersProperty.builder()
.manifestFileLocation(ManifestFileLocationProperty.builder()
.bucket("bucket")
.key("key")
.build())
.roleArn("roleArn")
.build())
.snowflakeParameters(SnowflakeParametersProperty.builder()
.authenticationType("authenticationType")
.database("database")
.databaseAccessControlRole("databaseAccessControlRole")
.host("host")
.oAuthParameters(OAuthParametersProperty.builder()
.identityProviderResourceUri("identityProviderResourceUri")
.identityProviderVpcConnectionProperties(VpcConnectionPropertiesProperty.builder()
.vpcConnectionArn("vpcConnectionArn")
.build())
.oAuthScope("oAuthScope")
.tokenProviderUrl("tokenProviderUrl")
.build())
.warehouse("warehouse")
.build())
.sparkParameters(SparkParametersProperty.builder()
.host("host")
.port(123)
.build())
.sqlServerParameters(SqlServerParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.starburstParameters(StarburstParametersProperty.builder()
.authenticationType("authenticationType")
.catalog("catalog")
.databaseAccessControlRole("databaseAccessControlRole")
.host("host")
.oAuthParameters(OAuthParametersProperty.builder()
.identityProviderResourceUri("identityProviderResourceUri")
.identityProviderVpcConnectionProperties(VpcConnectionPropertiesProperty.builder()
.vpcConnectionArn("vpcConnectionArn")
.build())
.oAuthScope("oAuthScope")
.tokenProviderUrl("tokenProviderUrl")
.build())
.port(123)
.productType("productType")
.build())
.teradataParameters(TeradataParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.trinoParameters(TrinoParametersProperty.builder()
.catalog("catalog")
.host("host")
.port(123)
.build())
.build()))
.password("password")
.username("username")
.build())
.keyPairCredentials(KeyPairCredentialsProperty.builder()
.keyPairUsername("keyPairUsername")
.privateKey("privateKey")
.privateKeyPassphrase("privateKeyPassphrase")
.build())
.secretArn("secretArn")
.build())
.dataSourceId("dataSourceId")
.dataSourceParameters(DataSourceParametersProperty.builder()
.amazonElasticsearchParameters(AmazonElasticsearchParametersProperty.builder()
.domain("domain")
.build())
.amazonOpenSearchParameters(AmazonOpenSearchParametersProperty.builder()
.domain("domain")
.build())
.athenaParameters(AthenaParametersProperty.builder()
.identityCenterConfiguration(IdentityCenterConfigurationProperty.builder()
.enableIdentityPropagation(false)
.build())
.roleArn("roleArn")
.workGroup("workGroup")
.build())
.auroraParameters(AuroraParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.auroraPostgreSqlParameters(AuroraPostgreSqlParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.databricksParameters(DatabricksParametersProperty.builder()
.host("host")
.port(123)
.sqlEndpointPath("sqlEndpointPath")
.build())
.mariaDbParameters(MariaDbParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.mySqlParameters(MySqlParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.oracleParameters(OracleParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.useServiceName(false)
.build())
.postgreSqlParameters(PostgreSqlParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.prestoParameters(PrestoParametersProperty.builder()
.catalog("catalog")
.host("host")
.port(123)
.build())
.rdsParameters(RdsParametersProperty.builder()
.database("database")
.instanceId("instanceId")
.build())
.redshiftParameters(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())
.s3Parameters(S3ParametersProperty.builder()
.manifestFileLocation(ManifestFileLocationProperty.builder()
.bucket("bucket")
.key("key")
.build())
.roleArn("roleArn")
.build())
.snowflakeParameters(SnowflakeParametersProperty.builder()
.authenticationType("authenticationType")
.database("database")
.databaseAccessControlRole("databaseAccessControlRole")
.host("host")
.oAuthParameters(OAuthParametersProperty.builder()
.identityProviderResourceUri("identityProviderResourceUri")
.identityProviderVpcConnectionProperties(VpcConnectionPropertiesProperty.builder()
.vpcConnectionArn("vpcConnectionArn")
.build())
.oAuthScope("oAuthScope")
.tokenProviderUrl("tokenProviderUrl")
.build())
.warehouse("warehouse")
.build())
.sparkParameters(SparkParametersProperty.builder()
.host("host")
.port(123)
.build())
.sqlServerParameters(SqlServerParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.starburstParameters(StarburstParametersProperty.builder()
.authenticationType("authenticationType")
.catalog("catalog")
.databaseAccessControlRole("databaseAccessControlRole")
.host("host")
.oAuthParameters(OAuthParametersProperty.builder()
.identityProviderResourceUri("identityProviderResourceUri")
.identityProviderVpcConnectionProperties(VpcConnectionPropertiesProperty.builder()
.vpcConnectionArn("vpcConnectionArn")
.build())
.oAuthScope("oAuthScope")
.tokenProviderUrl("tokenProviderUrl")
.build())
.port(123)
.productType("productType")
.build())
.teradataParameters(TeradataParametersProperty.builder()
.database("database")
.host("host")
.port(123)
.build())
.trinoParameters(TrinoParametersProperty.builder()
.catalog("catalog")
.host("host")
.port(123)
.build())
.build())
.errorInfo(DataSourceErrorInfoProperty.builder()
.message("message")
.type("type")
.build())
.folderArns(List.of("folderArns"))
.name("name")
.permissions(List.of(ResourcePermissionProperty.builder()
.actions(List.of("actions"))
.principal("principal")
.resource("resource")
.build()))
.sslProperties(SslPropertiesProperty.builder()
.disableSsl(false)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.type("type")
.vpcConnectionProperties(VpcConnectionPropertiesProperty.builder()
.vpcConnectionArn("vpcConnectionArn")
.build())
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceThe parameters for OpenSearch.static interfaceThe parameters for OpenSearch.static interfaceParameters for Amazon Athena.static interfaceParameters for Amazon Aurora.static interfaceParameters for Amazon Aurora PostgreSQL-Compatible Edition.static final classA fluent builder forCfnDataSourcePropsMixin.static interfaceThe combination of user name and password that are used as credentials.static interfaceThe required parameters that are needed to connect to a Databricks data source.static interfaceData source credentials.static interfaceError information for the data source creation or update.static interfaceThe parameters that Quick Sight uses to connect to your underlying data source.static interfaceThe parameters for an IAM Identity Center configuration.static interfaceThe combination of username, private key and passphrase that are used as credentials.static interfaceAmazon S3 manifest file location.static interfaceThe parameters for MariaDB.static interfaceThe parameters for MySQL.static interfaceAn object that contains information needed to create a data source connection that uses OAuth client credentials.static interfaceOracle parameters.static interfaceThe parameters for PostgreSQL.static interfaceThe parameters for Presto.static interfaceThe parameters for Amazon RDS.static interfaceA structure that grants Quick Sight access to your cluster and make a call to theredshift:GetClusterCredentialsAPI.static interfaceThe parameters for Amazon Redshift.static interfacePermission for the resource.static interfaceThe parameters for S3.static interfaceThe parameters for Snowflake.static interfaceThe parameters for Spark.static interfaceThe parameters for SQL Server.static interfaceSecure Socket Layer (SSL) properties that apply when Quick Sight connects to your underlying data source.static interfaceThe parameters that are required to connect to a Starburst data source.static interfaceThe parameters for Teradata.static interfaceThe parameters that are required to connect to a Trino data source.static interfaceVPC connection properties.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::QuickSight::DataSource.CfnDataSourcePropsMixin(CfnDataSourceMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::QuickSight::DataSource.protectedCfnDataSourcePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDataSourcePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnDataSourceMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnDataSourcePropsMixin
protected CfnDataSourcePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataSourcePropsMixin
protected CfnDataSourcePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataSourcePropsMixin
@Stability(Stable) public CfnDataSourcePropsMixin(@NotNull CfnDataSourceMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::QuickSight::DataSource.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnDataSourcePropsMixin
Create a mixin to apply properties toAWS::QuickSight::DataSource.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-