We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi
Resource Type definition for AWS::Glue::TableOptimizer
Using getTableOptimizer
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTableOptimizer(args: GetTableOptimizerArgs, opts?: InvokeOptions): Promise<GetTableOptimizerResult>
function getTableOptimizerOutput(args: GetTableOptimizerOutputArgs, opts?: InvokeOutputOptions): Output<GetTableOptimizerResult>def get_table_optimizer(catalog_id: Optional[str] = None,
database_name: Optional[str] = None,
table_name: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTableOptimizerResult
def get_table_optimizer_output(catalog_id: pulumi.Input[Optional[str]] = None,
database_name: pulumi.Input[Optional[str]] = None,
table_name: pulumi.Input[Optional[str]] = None,
type: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTableOptimizerResult]func LookupTableOptimizer(ctx *Context, args *LookupTableOptimizerArgs, opts ...InvokeOption) (*LookupTableOptimizerResult, error)
func LookupTableOptimizerOutput(ctx *Context, args *LookupTableOptimizerOutputArgs, opts ...InvokeOption) LookupTableOptimizerResultOutput> Note: This function is named LookupTableOptimizer in the Go SDK.
public static class GetTableOptimizer
{
public static Task<GetTableOptimizerResult> InvokeAsync(GetTableOptimizerArgs args, InvokeOptions? opts = null)
public static Output<GetTableOptimizerResult> Invoke(GetTableOptimizerInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTableOptimizerResult> Invoke(GetTableOptimizerInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTableOptimizerResult> getTableOptimizer(GetTableOptimizerArgs args, InvokeOptions options)
public static Output<GetTableOptimizerResult> getTableOptimizer(GetTableOptimizerArgs args, InvokeOptions options)
public static Output<GetTableOptimizerResult> getTableOptimizer(GetTableOptimizerArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:glue:getTableOptimizer
arguments:
# arguments dictionarydata "aws-native_glue_get_table_optimizer" "name" {
# arguments
}The following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- type String
- The type of table optimizer.
getTableOptimizer Result
The following output properties are available:
- Table
Optimizer Pulumi.Configuration Aws Native. Glue. Outputs. Table Optimizer Configuration - Specifies configuration details of a table optimizer.
- Table
Optimizer TableConfiguration Optimizer Configuration - Specifies configuration details of a table optimizer.
- table_
optimizer_ objectconfiguration - Specifies configuration details of a table optimizer.
- table
Optimizer TableConfiguration Optimizer Configuration - Specifies configuration details of a table optimizer.
- table
Optimizer TableConfiguration Optimizer Configuration - Specifies configuration details of a table optimizer.
- table_
optimizer_ Tableconfiguration Optimizer Configuration - Specifies configuration details of a table optimizer.
- table
Optimizer Property MapConfiguration - Specifies configuration details of a table optimizer.
Supporting Types
TableOptimizerCompactionConfiguration
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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.
Viewing docs for AWS Cloud Control v1.76.0
published on Monday, Aug 24, 2026 by Pulumi
published on Monday, Aug 24, 2026 by Pulumi