import { Value } from '../../../cloudformation/Value';
/**
  Provides the configuration information that’s required to connect to a database.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-connectionconfiguration.html">the AWS Docs</a>
*/
export interface ConnectionConfigurationProps {
    /** <code>SecretArn</code>  <a name="cfn-kendra-datasource-connectionconfiguration-secretarn"></a>
  The Amazon Resource Name (ARN) of credentials stored in AWS Secrets Manager. The credentials should be a user/password pair. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html">Using a Database Data Source</a>. For more information about AWS Secrets Manager, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html"> What Is AWS Secrets Manager</a> in the * AWS Secrets Manager * user guide.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>1284</code><br />
  
  Pattern: <code>arn:[a-z0-9-\.]{1,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}</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> */
    secretArn: Value<string>;
    /** <code>TableName</code>  <a name="cfn-kendra-datasource-connectionconfiguration-tablename"></a>
  The name of the table that contains the document data.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>100</code><br />
  
  Pattern: <code>^[a-zA-Z][a-zA-Z0-9_]*$</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> */
    tableName: Value<string>;
    /** <code>DatabasePort</code>  <a name="cfn-kendra-datasource-connectionconfiguration-databaseport"></a>
  The port that the database uses for connections.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>65535</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> */
    databasePort: Value<number>;
    /** <code>DatabaseHost</code>  <a name="cfn-kendra-datasource-connectionconfiguration-databasehost"></a>
  The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>253</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> */
    databaseHost: Value<string>;
    /** <code>DatabaseName</code>  <a name="cfn-kendra-datasource-connectionconfiguration-databasename"></a>
  The name of the database containing the document data.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>100</code><br />
  
  Pattern: <code>^[a-zA-Z][a-zA-Z0-9_]*$</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> */
    databaseName: Value<string>;
}
