import { Value } from '../../../cloudformation/Value';
/**
  Provides information that defines a GCP MySQL endpoint. This information includes the output format of records applied to the endpoint and details of transaction and control table data information. These settings are much the same as the settings for any MySQL-compatible endpoint. For more information, 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> 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-gcpmysqlsettings.html">the AWS Docs</a>
*/
export interface GcpMySQLSettingsProps {
    /** <code>AfterConnectScript</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-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>Port</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-port"></a>
  The port used by the endpoint database.<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> */
    port?: Value<number>;
    /** <code>DatabaseName</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-databasename"></a>
  Database name for the endpoint. For a MySQL source or target endpoint, don’t explicitly specify the database using the <code>DatabaseName</code> request parameter on either the <code>CreateEndpoint</code> or <code>ModifyEndpoint</code> API call. Specifying <code>DatabaseName</code> when you create or modify a MySQL endpoint replicates all the task tables to this single database. For MySQL endpoints, you specify the database only when you specify the schema in the table-mapping rules of the AWS DMS task.<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> */
    databaseName?: Value<string>;
    /** <code>CleanSourceMetadataOnMismatch</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-cleansourcemetadataonmismatch"></a>
  Adjusts the behavior of AWS DMS when migrating from an SQL Server source database that is hosted as part of an Always On availability group cluster. If you need AWS DMS to poll all the nodes in the Always On cluster for transaction backups, set this attribute to <code>false</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> */
    cleanSourceMetadataOnMismatch?: Value<boolean>;
    /** <code>ServerTimezone</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-servertimezone"></a>
  Specifies the time zone for the source MySQL database. Don’t enclose time zones in single quotation marks.<br />
  Example: <code>serverTimezone=US/Pacific;</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> */
    serverTimezone?: Value<string>;
    /** <code>EventsPollInterval</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-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-gcpmysqlsettings-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>Username</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-username"></a>
  Endpoint connection user name.<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> */
    username?: Value<string>;
    /** <code>MaxFileSize</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-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>ServerName</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-servername"></a>
  Endpoint TCP port.<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> */
    serverName?: Value<string>;
    /** <code>SecretsManagerSecretId</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-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-gcpmysqlsettings-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> 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>Password</code>  <a name="cfn-dms-endpoint-gcpmysqlsettings-password"></a>
  Endpoint connection password.<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> */
    password?: Value<string>;
}
