Class CfnEndpoint.MySqlSettingsProperty.Jsii$Proxy

All Implemented Interfaces:
Enclosing interface:

@Stability(Stable) @Internal public static final class CfnEndpoint.MySqlSettingsProperty.Jsii$Proxy extends implements CfnEndpoint.MySqlSettingsProperty
An implementation for CfnEndpoint.MySqlSettingsProperty
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy( objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnEndpoint.MySqlSettingsProperty.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnEndpoint.MySqlSettingsProperty.Builder.
  • Method Details

    • getAfterConnectScript

      public final String getAfterConnectScript()
      Description copied from interface: CfnEndpoint.MySqlSettingsProperty
      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.

      For this parameter, provide the code of the script itself, not the name of a file containing the script.

      Specified by:
      getAfterConnectScript in interface CfnEndpoint.MySqlSettingsProperty
    • getCleanSourceMetadataOnMismatch

      public final Object getCleanSourceMetadataOnMismatch()
      Description copied from interface: CfnEndpoint.MySqlSettingsProperty
      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.

      Specified by:
      getCleanSourceMetadataOnMismatch in interface CfnEndpoint.MySqlSettingsProperty
    • getEventsPollInterval

      public final Number getEventsPollInterval()
      Description copied from interface: CfnEndpoint.MySqlSettingsProperty
      Specifies how often to check the binary log for new changes/events when the database is idle.

      The default is five seconds.

      Example: eventsPollInterval=5;

      In the example, AWS DMS checks for changes in the binary logs every five seconds.

      Specified by:
      getEventsPollInterval in interface CfnEndpoint.MySqlSettingsProperty
    • getMaxFileSize

      public final Number getMaxFileSize()
      Description copied from interface: CfnEndpoint.MySqlSettingsProperty
      Specifies the maximum size (in KB) of any .csv file used to transfer data to a MySQL-compatible database.

      Example: maxFileSize=512

      Specified by:
      getMaxFileSize in interface CfnEndpoint.MySqlSettingsProperty
    • getParallelLoadThreads

      public final Number getParallelLoadThreads()
      Description copied from interface: CfnEndpoint.MySqlSettingsProperty
      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.

      Example: parallelLoadThreads=1

      Specified by:
      getParallelLoadThreads in interface CfnEndpoint.MySqlSettingsProperty
    • getSecretsManagerAccessRoleArn

      public final String getSecretsManagerAccessRoleArn()
      Description copied from interface: CfnEndpoint.MySqlSettingsProperty
      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 SecretsManagerSecret .

      The role must allow the iam:PassRole action. SecretsManagerSecret has the value of the AWS Secrets Manager secret that allows access to the MySQL endpoint.

      You can specify one of two sets of values for these permissions. You can specify the values for this setting and SecretsManagerSecretId . Or you can specify clear-text values for UserName , Password , ServerName , and Port . You can't specify both.

      For more information on creating this SecretsManagerSecret , the corresponding SecretsManagerAccessRoleArn , and the SecretsManagerSecretId that is required to access it, see Using secrets to access AWS Database Migration Service resources in the AWS Database Migration Service User Guide .

      Specified by:
      getSecretsManagerAccessRoleArn in interface CfnEndpoint.MySqlSettingsProperty
    • getSecretsManagerSecretId

      public final String getSecretsManagerSecretId()
      Description copied from interface: CfnEndpoint.MySqlSettingsProperty
      The full ARN, partial ARN, or display name of the SecretsManagerSecret that contains the MySQL endpoint connection details.
      Specified by:
      getSecretsManagerSecretId in interface CfnEndpoint.MySqlSettingsProperty
    • getServerTimezone

      public final String getServerTimezone()
      Description copied from interface: CfnEndpoint.MySqlSettingsProperty
      Specifies the time zone for the source MySQL database.

      Example: serverTimezone=US/Pacific;

      Note: Do not enclose time zones in single quotes.

      Specified by:
      getServerTimezone in interface CfnEndpoint.MySqlSettingsProperty
    • getTargetDbType

      public final String getTargetDbType()
      Description copied from interface: CfnEndpoint.MySqlSettingsProperty
      Specifies where to migrate source tables on the target, either to a single database or multiple databases.

      If you specify SPECIFIC_DATABASE , specify the database name using the DatabaseName parameter of the Endpoint object.

      Example: targetDbType=MULTIPLE_DATABASES

      Specified by:
      getTargetDbType in interface CfnEndpoint.MySqlSettingsProperty
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface
    • equals

      public final boolean equals(Object o)
      equals in class Object
    • hashCode

      public final int hashCode()
      hashCode in class Object