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:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> 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 to AWS::QuickSight::DataSource.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnDataSourcePropsMixin

      @Stability(Stable) public CfnDataSourcePropsMixin(@NotNull CfnDataSourceMixinProps props)
      Create a mixin to apply properties to AWS::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.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnDataSourceMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()