StartTableMigrationRequest
¶
Source code in docs_src/capo_s3tables/types/start_table_migration_request.py
data_migration
instance-attribute
¶
data_migration: NotRequired[DataMigrationSettings]
The maintenance settings and migration policies for the destination table.
destination_table
instance-attribute
¶
destination_table: DestinationTable
The table to create and migrate the source into.
migration_output
instance-attribute
¶
migration_output: MigrationOutputConfiguration
The bucket and prefixes that the migration writes its reports to. The bucket must be a general purpose bucket in your account and in the same Region as the table bucket, and the migration role must be able to write objects to it. Otherwise, the migration fails when it writes its first report.
review_migration_plan
instance-attribute
¶
review_migration_plan: NotRequired[bool]
Specifies whether the migration waits in the pendingReview state, so that you can review the compatibility reports before it migrates any data. Valid values:
-
true- The migration waits inpendingReviewuntil you callUpdateTableMigrationwithrequestedStateset toqueued. If you don't continue or cancel the migration within 30 days, the migration fails withinternalError. -
false- The migration continues without waiting for review. This is the default.
role_arn
instance-attribute
¶
role_arn: RoleArn
The Amazon Resource Name (ARN) of the IAM role that the migration uses to read the source table and its data and to write the destination table and the reports. The role must be in your account, and its trust policy must allow migration.s3tables.amazonaws.com to assume it. You can limit the trust policy to the destination table bucket with the aws:SourceArn and aws:SourceAccount condition keys.
source_type
instance-attribute
¶
source_type: MigrationSourceType
The type of the source. It must match the member that you set in source.