import { Value } from '../../../cloudformation/Value';
import { CredentialPairProps } from './CredentialPairProps';
/**
  Data source credentials. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-datasource-datasourcecredentials.html">the AWS Docs</a>
*/
export interface DataSourceCredentialsProps {
    /** <code>SecretArn</code>  <a name="cfn-quicksight-datasource-datasourcecredentials-secretarn"></a>
  The Amazon Resource Name (ARN) of the secret associated with the data source in AWS Secrets Manager.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    secretArn?: Value<string>;
    /** <code>CopySourceArn</code>  <a name="cfn-quicksight-datasource-datasourcecredentials-copysourcearn"></a>
  The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use. When <code>CopySourceArn</code> is not null, the credential pair from the data source in the ARN is used as the credentials for the <code>DataSourceCredentials</code> structure.<br />
  
  Required: No<br />
  
  Pattern: <code>^arn:[-a-z0-9]*:quicksight:[-a-z0-9]*:[0-9]{12}:datasource/.+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    copySourceArn?: Value<string>;
    /** <code>CredentialPair</code>  <a name="cfn-quicksight-datasource-datasourcecredentials-credentialpair"></a>
  Credential pair. For more information, see <code>[CredentialPair](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_CredentialPair.html)</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    credentialPair?: CredentialPairProps;
}
