DestinationTable
¶
Used by
-
AsyncS3TablesClient Operationsstart_table_migration -
S3TablesClient Operationsstart_table_migration
Source code in docs_src/capo_s3tables/types/destination_table.py
encryption_configuration
instance-attribute
¶
encryption_configuration: NotRequired[EncryptionConfiguration]
The encryption configuration for the table. If you don't specify one, the table uses the default encryption configuration of its table bucket. If you specify an encryption configuration, the migration role must have the s3tables:PutTableEncryption permission. If you choose SSE-KMS, the migration role must have the kms:DescribeKey, kms:GenerateDataKey and kms:Decrypt permissions on the KMS key, and the S3 Tables maintenance principal must have access to it. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.
iceberg_sort_order
instance-attribute
¶
iceberg_sort_order: NotRequired[IcebergSortOrder]
The sort order of the rows within each data file that the migration writes. A sort order can have up to five fields, each naming a column of the schema that you specify by its field ID, so to use a sort order you must specify a schema. StartTableMigration rejects a field that names no column of the schema, or whose transform doesn't fit the column's type.
properties
instance-attribute
¶
properties: NotRequired[MigrationTableProperties]
The properties of the destination table, such as its Iceberg format version and the format of its data files.
schema
instance-attribute
¶
schema: NotRequired[IcebergSchemaV2]
The schema of the table to create. If you don't specify a schema, the migration infers it from the source table, with every column optional. A schema that you specify must include every partition column of the source table. It can leave out other columns only if unmatchedSourceFieldsPolicy is drop. A struct column must have the same fields as the source column. Column default values aren't supported. If you mark a column as required, every source object must have a value for it: an object with a null value in a required column fails to migrate. The destination table is partitioned in the same way as the source table. To specify fields in icebergSortOrder, you must specify a schema.
storage_class_configuration
instance-attribute
¶
storage_class_configuration: NotRequired[StorageClassConfiguration]
The storage class configuration for the table. If you don't specify one, the table inherits the storage class configuration of its table bucket. If you specify a storage class configuration, the migration role must have the s3tables:PutTableStorageClass permission.
table_bucket_arn
instance-attribute
¶
table_bucket_arn: TableBucketARN
The Amazon Resource Name (ARN) of the table bucket to create the table in.
tags
instance-attribute
¶
tags: NotRequired[Tags]
The tags to add to the table. A tag is a key-value pair that you apply to your resources. For more information, see Tagging for cost allocation or attribute-based access control (ABAC). If you specify tags, the migration role must have the s3tables:TagResource permission.