import { Value } from '../../../cloudformation/Value';
/**
  Provides information that defines a MySQL endpoint. This information includes the output format of records applied to the endpoint and details of transaction and control table data information. For information about other available settings, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.MySQL.html#CHAP_Source.MySQL.ConnectionAttrib"> Extra connection attributes when using MySQL as a source for AWS DMS</a> and <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.MySQL.html#CHAP_Target.MySQL.ConnectionAttrib"> Extra connection attributes when using a MySQL-compatible database as a target for AWS DMS</a> in the <em>AWS Database Migration Service User Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-mysqlsettings.html">the AWS Docs</a>
*/
export interface MySqlSettingsProps {
    /** <code>ServerTimezone</code>  <a name="cfn-dms-endpoint-mysqlsettings-servertimezone"></a>
  Specifies the time zone for the source MySQL database.<br />
  Example: <code>serverTimezone=US/Pacific;</code><br />
  Note: Do not enclose time zones in single quotes.<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> */
    serverTimezone?: Value<string>;
    /** <code>EventsPollInterval</code>  <a name="cfn-dms-endpoint-mysqlsettings-eventspollinterval"></a>
  Specifies how often to check the binary log for new changes/events when the database is idle. The default is five seconds.<br />
  Example: <code>eventsPollInterval=5;</code><br />
  In the example, AWS DMS checks for changes in the binary logs every five seconds.<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> */
    eventsPollInterval?: Value<number>;
    /** <code>ParallelLoadThreads</code>  <a name="cfn-dms-endpoint-mysqlsettings-parallelloadthreads"></a>
  Improves performance when loading data into the MySQL-compatible target database. Specifies how many threads to use to load the data into the MySQL-compatible target database. Setting a large number of threads can have an adverse effect on database performance, because a separate connection is required for each thread. The default is one.<br />
  Example: <code>parallelLoadThreads=1</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> */
    parallelLoadThreads?: Value<number>;
    /** <code>AfterConnectScript</code>  <a name="cfn-dms-endpoint-mysqlsettings-afterconnectscript"></a>
  Specifies a script to run immediately after AWS DMS connects to the endpoint. The migration task continues running regardless if the SQL statement succeeds or fails.<br />
  For this parameter, provide the code of the script itself, not the name of a file containing the script.<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> */
    afterConnectScript?: Value<string>;
    /** <code>MaxFileSize</code>  <a name="cfn-dms-endpoint-mysqlsettings-maxfilesize"></a>
  Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.<br />
  Example: <code>maxFileSize=512</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> */
    maxFileSize?: Value<number>;
    /** <code>TargetDbType</code>  <a name="cfn-dms-endpoint-mysqlsettings-targetdbtype"></a>
  Specifies where to migrate source tables on the target, either to a single database or multiple databases. If you specify <code>SPECIFIC_DATABASE</code>, specify the database name using the <code>DatabaseName</code> parameter of the <code>Endpoint</code> object.<br />
  Example: <code>targetDbType=MULTIPLE_DATABASES</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> */
    targetDbType?: Value<string>;
    /** <code>SecretsManagerSecretId</code>  <a name="cfn-dms-endpoint-mysqlsettings-secretsmanagersecretid"></a>
  The full ARN, partial ARN, or display name of the <code>SecretsManagerSecret</code> that contains the MySQL endpoint connection details.<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> */
    secretsManagerSecretId?: Value<string>;
    /** <code>SecretsManagerAccessRoleArn</code>  <a name="cfn-dms-endpoint-mysqlsettings-secretsmanageraccessrolearn"></a>
  The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the value in <code>SecretsManagerSecret</code>. The role must allow the <code>iam:PassRole</code> action. <code>SecretsManagerSecret</code> has the value of the AWS Secrets Manager secret that allows access to the MySQL endpoint.<br />
  You can specify one of two sets of values for these permissions. You can specify the values for this setting and <code>SecretsManagerSecretId</code>. Or you can specify clear-text values for <code>UserName</code>, <code>Password</code>, <code>ServerName</code>, and <code>Port</code>. You can’t specify both.<br />
  For more information on creating this <code>SecretsManagerSecret</code>, the corresponding <code>SecretsManagerAccessRoleArn</code>, and the <code>SecretsManagerSecretId</code> that is required to access it, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#security-iam-secretsmanager"> Using secrets to access AWS Database Migration Service resources</a> in the
  AWS Database Migration Service User Guide:
  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> */
    secretsManagerAccessRoleArn?: Value<string>;
    /** <code>CleanSourceMetadataOnMismatch</code>  <a name="cfn-dms-endpoint-mysqlsettings-cleansourcemetadataonmismatch"></a>
  Cleans and recreates table metadata information on the replication instance when a mismatch occurs. For example, in a situation where running an alter DDL on the table could result in different information about the table cached in the replication instance.<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> */
    cleanSourceMetadataOnMismatch?: Value<boolean>;
}
