You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/shortcuts/api.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -222,15 +222,19 @@ Create a Glue table backed by Apache Iceberg format on S3.
222
222
|[options.TableType]| <code>String</code> | <code>'EXTERNAL_TABLE'</code> | Hard-wired by this shortcut. |
223
223
|[options.IcebergVersion]| <code>String</code> | <code>'2'</code> | The table version for the Iceberg table. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-table-iceberginput.html). |
224
224
|[options.EnableOptimizer]| <code>Boolean</code> | <code>false</code> | Whether to enable the snapshot retention optimizer for this Iceberg table. |
225
-
|[options.OptimizerRoleArn]| <code>String</code> || The ARN of the IAM role for the retention optimizer to use. Required if EnableOptimizer is true. Can be the same role as CompactionRoleArn if both optimizers are enabled. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html). |
225
+
|[options.OptimizerRoleArn]| <code>String</code> || The ARN of the IAM role for the retention optimizer to use. Required if EnableOptimizer is true. Can be the same role as CompactionRoleArn or OrphanFileDeletionRoleArn if multiple optimizers are enabled. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html). |
226
226
|[options.SnapshotRetentionPeriodInDays]| <code>Number</code> | <code>5</code> | The number of days to retain snapshots. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-glue-tableoptimizer-icebergretentionconfiguration.html). |
227
227
|[options.NumberOfSnapshotsToRetain]| <code>Number</code> | <code>1</code> | The minimum number of snapshots to retain. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-glue-tableoptimizer-icebergretentionconfiguration.html). |
228
228
|[options.CleanExpiredFiles]| <code>Boolean</code> | <code>true</code> | Whether to delete expired data files after expiring snapshots. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-glue-tableoptimizer-icebergretentionconfiguration.html). |
229
229
|[options.EnableCompaction]| <code>Boolean</code> | <code>false</code> | Whether to enable the compaction optimizer for this Iceberg table. |
230
-
|[options.CompactionRoleArn]| <code>String</code> || The ARN of the IAM role for the compaction optimizer to use. Required if EnableCompaction is true. Can be the same role as OptimizerRoleArn if both optimizers are enabled. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html). |
230
+
|[options.CompactionRoleArn]| <code>String</code> || The ARN of the IAM role for the compaction optimizer to use. Required if EnableCompaction is true. Can be the same role as OptimizerRoleArn or OrphanFileDeletionRoleArn if multiple optimizers are enabled. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html). |
231
231
|[options.CompactionStrategy]| <code>String</code> | <code>'binpack'</code> | The compaction strategy: binpack, sort, or z-order. See [AWS documentation](https://docs.aws.amazon.com/glue/latest/dg/enable-compaction.html). |
232
232
|[options.MinInputFiles]| <code>Number</code> | <code>100</code> | Minimum number of data files before compaction triggers. |
233
233
|[options.DeleteFileThreshold]| <code>Number</code> | <code>1</code> | Minimum deletes in a file to make it eligible for compaction. |
234
+
|[options.EnableOrphanFileDeletion]| <code>Boolean</code> | <code>false</code> | Whether to enable the orphan file deletion optimizer for this Iceberg table. |
235
+
|[options.OrphanFileDeletionRoleArn]| <code>String</code> || The ARN of the IAM role for the orphan file deletion optimizer to use. Required if EnableOrphanFileDeletion is true. Can be the same role as OptimizerRoleArn or CompactionRoleArn if multiple optimizers are enabled. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-tableoptimizer-tableoptimizerconfiguration.html). |
236
+
|[options.OrphanFileRetentionPeriodInDays]| <code>Number</code> | <code>3</code> | The number of days to retain orphan files before deleting them. See [AWS documentation](https://docs.aws.amazon.com/glue/latest/dg/enable-orphan-file-deletion.html). |
237
+
|[options.OrphanFileDeletionLocation]| <code>String</code> || The S3 location to scan for orphan files. Defaults to the table location if not specified. See [AWS documentation](https://docs.aws.amazon.com/glue/latest/dg/enable-orphan-file-deletion.html). |
0 commit comments