We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
Resource Type definition for AWS::Glue::TableOptimizer
Create TableOptimizer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TableOptimizer(name: string, args: TableOptimizerArgs, opts?: CustomResourceOptions);@overload
def TableOptimizer(resource_name: str,
args: TableOptimizerArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TableOptimizer(resource_name: str,
opts: Optional[ResourceOptions] = None,
catalog_id: Optional[str] = None,
database_name: Optional[str] = None,
table_name: Optional[str] = None,
table_optimizer_configuration: Optional[TableOptimizerConfigurationArgs] = None,
type: Optional[str] = None)func NewTableOptimizer(ctx *Context, name string, args TableOptimizerArgs, opts ...ResourceOption) (*TableOptimizer, error)public TableOptimizer(string name, TableOptimizerArgs args, CustomResourceOptions? opts = null)
public TableOptimizer(String name, TableOptimizerArgs args)
public TableOptimizer(String name, TableOptimizerArgs args, CustomResourceOptions options)
type: aws-native:glue:TableOptimizer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_glue_table_optimizer" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TableOptimizerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TableOptimizerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TableOptimizerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TableOptimizerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TableOptimizerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TableOptimizer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TableOptimizer resource accepts the following input properties:
- Catalog
Id string - The catalog ID of the table
- Database
Name string - The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
- Table
Name string - The table name. For Hive compatibility, this must be entirely lowercase.
- Table
Optimizer Pulumi.Configuration Aws Native. Glue. Inputs. Table Optimizer Configuration - Specifies configuration details of a table optimizer.
- Type string
- The type of table optimizer.
- Catalog
Id string - The catalog ID of the table
- Database
Name string - The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
- Table
Name string - The table name. For Hive compatibility, this must be entirely lowercase.
- Table
Optimizer TableConfiguration Optimizer Configuration Args - Specifies configuration details of a table optimizer.
- Type string
- The type of table optimizer.
- catalog_
id string - The catalog ID of the table
- database_
name string - The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
- table_
name string - The table name. For Hive compatibility, this must be entirely lowercase.
- table_
optimizer_ objectconfiguration - Specifies configuration details of a table optimizer.
- type string
- The type of table optimizer.
- catalog
Id String - The catalog ID of the table
- database
Name String - The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
- table
Name String - The table name. For Hive compatibility, this must be entirely lowercase.
- table
Optimizer TableConfiguration Optimizer Configuration - Specifies configuration details of a table optimizer.
- type String
- The type of table optimizer.
- catalog
Id string - The catalog ID of the table
- database
Name string - The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
- table
Name string - The table name. For Hive compatibility, this must be entirely lowercase.
- table
Optimizer TableConfiguration Optimizer Configuration - Specifies configuration details of a table optimizer.
- type string
- The type of table optimizer.
- catalog_
id str - The catalog ID of the table
- database_
name str - The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
- table_
name str - The table name. For Hive compatibility, this must be entirely lowercase.
- table_
optimizer_ Tableconfiguration Optimizer Configuration Args - Specifies configuration details of a table optimizer.
- type str
- The type of table optimizer.
- catalog
Id String - The catalog ID of the table
- database
Name String - The name of the database. For Hive compatibility, this is folded to lowercase when it is stored.
- table
Name String - The table name. For Hive compatibility, this must be entirely lowercase.
- table
Optimizer Property MapConfiguration - Specifies configuration details of a table optimizer.
- type String
- The type of table optimizer.
Outputs
All input properties are implicitly available as output properties. Additionally, the TableOptimizer resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
TableOptimizerCompactionConfiguration, TableOptimizerCompactionConfigurationArgs
- Iceberg
Configuration Pulumi.Aws Native. Glue. Inputs. Table Optimizer Iceberg Compaction Configuration - The configuration for an Iceberg compaction optimizer.
- Iceberg
Configuration TableOptimizer Iceberg Compaction Configuration - The configuration for an Iceberg compaction optimizer.
- iceberg_
configuration object - The configuration for an Iceberg compaction optimizer.
- iceberg
Configuration TableOptimizer Iceberg Compaction Configuration - The configuration for an Iceberg compaction optimizer.
- iceberg
Configuration TableOptimizer Iceberg Compaction Configuration - The configuration for an Iceberg compaction optimizer.
- iceberg_
configuration TableOptimizer Iceberg Compaction Configuration - The configuration for an Iceberg compaction optimizer.
- iceberg
Configuration Property Map - The configuration for an Iceberg compaction optimizer.
TableOptimizerConfiguration, TableOptimizerConfigurationArgs
- Enabled bool
- Whether the table optimization is enabled.
- Role
Arn string - A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
- Compaction
Configuration Pulumi.Aws Native. Glue. Inputs. Table Optimizer Compaction Configuration - The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
- Orphan
File Pulumi.Deletion Configuration Aws Native. Glue. Inputs. Table Optimizer Orphan File Deletion Configuration - OrphanFileDeletionConfiguration is a property that can be included within the TableOptimizer resource. It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.
- Retention
Configuration Pulumi.Aws Native. Glue. Inputs. Table Optimizer Retention Configuration - The configuration for a snapshot retention optimizer for Apache Iceberg tables.
- Vpc
Configuration Pulumi.Aws Native. Glue. Inputs. Table Optimizer Vpc Configuration - An object that describes the VPC configuration for a table optimizer. This configuration is necessary to perform optimization on tables that are in a customer VPC.
- Enabled bool
- Whether the table optimization is enabled.
- Role
Arn string - A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
- Compaction
Configuration TableOptimizer Compaction Configuration - The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
- Orphan
File TableDeletion Configuration Optimizer Orphan File Deletion Configuration - OrphanFileDeletionConfiguration is a property that can be included within the TableOptimizer resource. It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.
- Retention
Configuration TableOptimizer Retention Configuration - The configuration for a snapshot retention optimizer for Apache Iceberg tables.
- Vpc
Configuration TableOptimizer Vpc Configuration - An object that describes the VPC configuration for a table optimizer. This configuration is necessary to perform optimization on tables that are in a customer VPC.
- enabled bool
- Whether the table optimization is enabled.
- role_
arn string - A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
- compaction_
configuration object - The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
- orphan_
file_ objectdeletion_ configuration - OrphanFileDeletionConfiguration is a property that can be included within the TableOptimizer resource. It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.
- retention_
configuration object - The configuration for a snapshot retention optimizer for Apache Iceberg tables.
- vpc_
configuration object - An object that describes the VPC configuration for a table optimizer. This configuration is necessary to perform optimization on tables that are in a customer VPC.
- enabled Boolean
- Whether the table optimization is enabled.
- role
Arn String - A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
- compaction
Configuration TableOptimizer Compaction Configuration - The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
- orphan
File TableDeletion Configuration Optimizer Orphan File Deletion Configuration - OrphanFileDeletionConfiguration is a property that can be included within the TableOptimizer resource. It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.
- retention
Configuration TableOptimizer Retention Configuration - The configuration for a snapshot retention optimizer for Apache Iceberg tables.
- vpc
Configuration TableOptimizer Vpc Configuration - An object that describes the VPC configuration for a table optimizer. This configuration is necessary to perform optimization on tables that are in a customer VPC.
- enabled boolean
- Whether the table optimization is enabled.
- role
Arn string - A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
- compaction
Configuration TableOptimizer Compaction Configuration - The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
- orphan
File TableDeletion Configuration Optimizer Orphan File Deletion Configuration - OrphanFileDeletionConfiguration is a property that can be included within the TableOptimizer resource. It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.
- retention
Configuration TableOptimizer Retention Configuration - The configuration for a snapshot retention optimizer for Apache Iceberg tables.
- vpc
Configuration TableOptimizer Vpc Configuration - An object that describes the VPC configuration for a table optimizer. This configuration is necessary to perform optimization on tables that are in a customer VPC.
- enabled bool
- Whether the table optimization is enabled.
- role_
arn str - A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
- compaction_
configuration TableOptimizer Compaction Configuration - The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
- orphan_
file_ Tabledeletion_ configuration Optimizer Orphan File Deletion Configuration - OrphanFileDeletionConfiguration is a property that can be included within the TableOptimizer resource. It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.
- retention_
configuration TableOptimizer Retention Configuration - The configuration for a snapshot retention optimizer for Apache Iceberg tables.
- vpc_
configuration TableOptimizer Vpc Configuration - An object that describes the VPC configuration for a table optimizer. This configuration is necessary to perform optimization on tables that are in a customer VPC.
- enabled Boolean
- Whether the table optimization is enabled.
- role
Arn String - A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
- compaction
Configuration Property Map - The configuration for a compaction optimizer. This configuration defines how data files in your table will be compacted to improve query performance and reduce storage costs.
- orphan
File Property MapDeletion Configuration - OrphanFileDeletionConfiguration is a property that can be included within the TableOptimizer resource. It controls the automatic deletion of orphaned files - files that are not tracked by the table metadata, and older than the configured age limit.
- retention
Configuration Property Map - The configuration for a snapshot retention optimizer for Apache Iceberg tables.
- vpc
Configuration Property Map - An object that describes the VPC configuration for a table optimizer. This configuration is necessary to perform optimization on tables that are in a customer VPC.
TableOptimizerIcebergCompactionConfiguration, TableOptimizerIcebergCompactionConfigurationArgs
- Delete
File intThreshold - The minimum number of deletes in a data file to make it eligible for compaction.
- Min
Input intFiles - The minimum number of input files before compaction is triggered.
- Strategy string
- The compaction strategy to use. Valid values are binpack, sort, and z-order.
- Delete
File intThreshold - The minimum number of deletes in a data file to make it eligible for compaction.
- Min
Input intFiles - The minimum number of input files before compaction is triggered.
- Strategy string
- The compaction strategy to use. Valid values are binpack, sort, and z-order.
- delete_
file_ numberthreshold - The minimum number of deletes in a data file to make it eligible for compaction.
- min_
input_ numberfiles - The minimum number of input files before compaction is triggered.
- strategy string
- The compaction strategy to use. Valid values are binpack, sort, and z-order.
- delete
File IntegerThreshold - The minimum number of deletes in a data file to make it eligible for compaction.
- min
Input IntegerFiles - The minimum number of input files before compaction is triggered.
- strategy String
- The compaction strategy to use. Valid values are binpack, sort, and z-order.
- delete
File numberThreshold - The minimum number of deletes in a data file to make it eligible for compaction.
- min
Input numberFiles - The minimum number of input files before compaction is triggered.
- strategy string
- The compaction strategy to use. Valid values are binpack, sort, and z-order.
- delete_
file_ intthreshold - The minimum number of deletes in a data file to make it eligible for compaction.
- min_
input_ intfiles - The minimum number of input files before compaction is triggered.
- strategy str
- The compaction strategy to use. Valid values are binpack, sort, and z-order.
- delete
File NumberThreshold - The minimum number of deletes in a data file to make it eligible for compaction.
- min
Input NumberFiles - The minimum number of input files before compaction is triggered.
- strategy String
- The compaction strategy to use. Valid values are binpack, sort, and z-order.
TableOptimizerIcebergConfiguration, TableOptimizerIcebergConfigurationArgs
- Location string
- Specifies a directory in which to look for orphan files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
- Orphan
File intRetention Period In Days - The specific number of days you want to keep the orphan files.
- Location string
- Specifies a directory in which to look for orphan files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
- Orphan
File intRetention Period In Days - The specific number of days you want to keep the orphan files.
- location string
- Specifies a directory in which to look for orphan files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
- orphan_
file_ numberretention_ period_ in_ days - The specific number of days you want to keep the orphan files.
- location String
- Specifies a directory in which to look for orphan files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
- orphan
File IntegerRetention Period In Days - The specific number of days you want to keep the orphan files.
- location string
- Specifies a directory in which to look for orphan files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
- orphan
File numberRetention Period In Days - The specific number of days you want to keep the orphan files.
- location str
- Specifies a directory in which to look for orphan files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
- orphan_
file_ intretention_ period_ in_ days - The specific number of days you want to keep the orphan files.
- location String
- Specifies a directory in which to look for orphan files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
- orphan
File NumberRetention Period In Days - The specific number of days you want to keep the orphan files.
TableOptimizerIcebergRetentionConfiguration, TableOptimizerIcebergRetentionConfigurationArgs
- clean
Expired BooleanFiles - number
Of IntegerSnapshots To Retain - snapshot
Retention IntegerPeriod In Days
- clean
Expired booleanFiles - number
Of numberSnapshots To Retain - snapshot
Retention numberPeriod In Days
- clean
Expired BooleanFiles - number
Of NumberSnapshots To Retain - snapshot
Retention NumberPeriod In Days
TableOptimizerOrphanFileDeletionConfiguration, TableOptimizerOrphanFileDeletionConfigurationArgs
- Iceberg
Configuration Pulumi.Aws Native. Glue. Inputs. Table Optimizer Iceberg Configuration - The IcebergConfiguration property helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
- Iceberg
Configuration TableOptimizer Iceberg Configuration - The IcebergConfiguration property helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
- iceberg_
configuration object - The IcebergConfiguration property helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
- iceberg
Configuration TableOptimizer Iceberg Configuration - The IcebergConfiguration property helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
- iceberg
Configuration TableOptimizer Iceberg Configuration - The IcebergConfiguration property helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
- iceberg_
configuration TableOptimizer Iceberg Configuration - The IcebergConfiguration property helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
- iceberg
Configuration Property Map - The IcebergConfiguration property helps optimize your Iceberg tables in AWS Glue by allowing you to specify format-specific settings that control how data is stored, compressed, and managed.
TableOptimizerRetentionConfiguration, TableOptimizerRetentionConfigurationArgs
- Iceberg
Configuration Pulumi.Aws Native. Glue. Inputs. Table Optimizer Iceberg Retention Configuration - The configuration for an Iceberg snapshot retention optimizer.
- Iceberg
Configuration TableOptimizer Iceberg Retention Configuration - The configuration for an Iceberg snapshot retention optimizer.
- iceberg_
configuration object - The configuration for an Iceberg snapshot retention optimizer.
- iceberg
Configuration TableOptimizer Iceberg Retention Configuration - The configuration for an Iceberg snapshot retention optimizer.
- iceberg
Configuration TableOptimizer Iceberg Retention Configuration - The configuration for an Iceberg snapshot retention optimizer.
- iceberg_
configuration TableOptimizer Iceberg Retention Configuration - The configuration for an Iceberg snapshot retention optimizer.
- iceberg
Configuration Property Map - The configuration for an Iceberg snapshot retention optimizer.
TableOptimizerVpcConfiguration, TableOptimizerVpcConfigurationArgs
- Glue
Connection stringName - The name of the AWS Glue connection used for the VPC for the table optimizer.
- Glue
Connection stringName - The name of the AWS Glue connection used for the VPC for the table optimizer.
- glue_
connection_ stringname - The name of the AWS Glue connection used for the VPC for the table optimizer.
- glue
Connection StringName - The name of the AWS Glue connection used for the VPC for the table optimizer.
- glue
Connection stringName - The name of the AWS Glue connection used for the VPC for the table optimizer.
- glue_
connection_ strname - The name of the AWS Glue connection used for the VPC for the table optimizer.
- glue
Connection StringName - The name of the AWS Glue connection used for the VPC for the table optimizer.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi