Skip to content

CreateDataMigrationMessage

Source code in docs_src/capo_database_migration_service/types/create_data_migration_message.py
class CreateDataMigrationMessage(TypedDict, closed=True):
    data_migration_name: NotRequired[
        "capo_database_migration_service.types.string.String"
    ]
    """<p>A user-friendly name for the data migration. Data migration names have the following constraints:</p> <ul> <li> <p>Must begin with a letter, and can only contain ASCII letters, digits, and hyphens. </p> </li> <li> <p>Can't end with a hyphen or contain two consecutive hyphens.</p> </li> <li> <p>Length must be from 1 to 255 characters.</p> </li> </ul>"""
    migration_project_identifier: "capo_database_migration_service.types.string.String"
    """<p>An identifier for the migration project.</p>"""
    data_migration_type: (
        "capo_database_migration_service.types.migration_type_value.MigrationTypeValue"
    )
    """<p>Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.</p>"""
    service_access_role_arn: "capo_database_migration_service.types.string.String"
    """<p>The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.</p>"""
    enable_cloudwatch_logs: NotRequired[
        "capo_database_migration_service.types.boolean_optional.BooleanOptional"
    ]
    """<p>Specifies whether to enable CloudWatch logs for the data migration.</p>"""
    source_data_settings: NotRequired[
        "capo_database_migration_service.types.source_data_settings.SourceDataSettings"
    ]
    """<p>Specifies information about the source data provider.</p>"""
    target_data_settings: NotRequired[
        "capo_database_migration_service.types.target_data_settings.TargetDataSettings"
    ]
    """<p>Specifies information about the target data provider.</p>"""
    number_of_jobs: NotRequired[
        "capo_database_migration_service.types.integer_optional.IntegerOptional"
    ]
    """<p>The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.</p>"""
    tags: NotRequired["capo_database_migration_service.types.tag_list.TagList"]
    """<p>One or more tags to be assigned to the data migration.</p>"""
    selection_rules: NotRequired[
        "capo_database_migration_service.types.secret_string.SecretString"
    ]
    """<p>An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.</p>"""

data_migration_name instance-attribute

data_migration_name: NotRequired[String]

A user-friendly name for the data migration. Data migration names have the following constraints:

  • Must begin with a letter, and can only contain ASCII letters, digits, and hyphens.

  • Can't end with a hyphen or contain two consecutive hyphens.

  • Length must be from 1 to 255 characters.

data_migration_type instance-attribute

data_migration_type: MigrationTypeValue

Specifies if the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.

enable_cloudwatch_logs instance-attribute

enable_cloudwatch_logs: NotRequired[BooleanOptional]

Specifies whether to enable CloudWatch logs for the data migration.

migration_project_identifier instance-attribute

migration_project_identifier: String

An identifier for the migration project.

number_of_jobs instance-attribute

number_of_jobs: NotRequired[IntegerOptional]

The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.

selection_rules instance-attribute

selection_rules: NotRequired[SecretString]

An optional JSON string specifying what tables, views, and schemas to include or exclude from the migration.

service_access_role_arn instance-attribute

service_access_role_arn: String

The Amazon Resource Name (ARN) for the service access role that you want to use to create the data migration.

source_data_settings instance-attribute

source_data_settings: NotRequired[SourceDataSettings]

Specifies information about the source data provider.

tags instance-attribute

tags: NotRequired[TagList]

One or more tags to be assigned to the data migration.

target_data_settings instance-attribute

target_data_settings: NotRequired[TargetDataSettings]

Specifies information about the target data provider.