Interface CfnDataSourcePropsMixin.DataSourceCredentialsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.DataSourceCredentialsProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static interface CfnDataSourcePropsMixin.DataSourceCredentialsProperty
extends software.amazon.jsii.JsiiSerializable
Data source credentials.
This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
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.*;
DataSourceCredentialsProperty dataSourceCredentialsProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSourcePropsMixin.DataSourceCredentialsPropertystatic final classAn implementation forCfnDataSourcePropsMixin.DataSourceCredentialsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.default ObjectCredential pair.default ObjectThe credentials for connecting using key-pair.default StringThe Amazon Resource Name (ARN) of the secret associated with the data source in AWS Secrets Manager .Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCopySourceArn
The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.When
CopySourceArnis not null, the credential pair from the data source in the ARN is used as the credentials for theDataSourceCredentialsstructure.- See Also:
-
getCredentialPair
Credential pair.For more information, see
[CredentialPair](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CredentialPair.html).Returns union: either
IResolvableorCfnDataSourcePropsMixin.CredentialPairProperty- See Also:
-
getKeyPairCredentials
The credentials for connecting using key-pair.Returns union: either
IResolvableorCfnDataSourcePropsMixin.KeyPairCredentialsProperty- See Also:
-
getSecretArn
The Amazon Resource Name (ARN) of the secret associated with the data source in AWS Secrets Manager .- See Also:
-
builder
-