DataSourceCredentials - Amazon QuickSight
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Data source credentials. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.



In the following list, the required parameters are described first.


The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When CopySourceArn is not null, the credential pair from the data source in the ARN is used as the credentials for the DataSourceCredentials structure.

Type: String

Pattern: ^arn:[-a-z0-9]*:quicksight:[-a-z0-9]*:[0-9]{12}:datasource/.+

Required: No


Credential pair. For more information, see CredentialPair .

Type: CredentialPair object

Required: No


The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: ^arn:[-a-z0-9]*:secretsmanager:[-a-z0-9]*:[0-9]{12}:secret:.+

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: