table_storage_class
Creates, updates, deletes, gets or lists a table_storage_class resource.
Overview
| Name | table_storage_class |
| Type | Resource |
| Id | aws.s3tables.table_storage_class |
Fields
The following fields are returned by SELECT queries:
- get_table_storage_class
| Name | Datatype | Description |
|---|---|---|
storage_class | string | The storage class for the table or table bucket. Valid values include storage classes optimized for different access patterns and cost profiles. (STANDARD, INTELLIGENT_TIERING) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_table_storage_class | select | table_bucket_arn, namespace, name, region | Retrieves the storage class configuration for a specific table. This allows you to view the storage class settings that apply to an individual table, which may differ from the table bucket's default configuration. Permissions You must have the s3tables:GetTableStorageClass permission to use this operation. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the table. |
namespace | string | The namespace associated with the table. |
region | string | AWS region (default: us-east-1) |
table_bucket_arn | string | The Amazon Resource Name (ARN) of the table bucket that contains the table. |
SELECT examples
- get_table_storage_class
Retrieves the storage class configuration for a specific table. This allows you to view the storage class settings that apply to an individual table, which may differ from the table bucket's default configuration. Permissions You must have the s3tables:GetTableStorageClass permission to use this operation.
SELECT
storage_class
FROM aws.s3tables.table_storage_class
WHERE table_bucket_arn = '{{ table_bucket_arn }}' -- required
AND namespace = '{{ namespace }}' -- required
AND name = '{{ name }}' -- required
AND region = '{{ region }}' -- required
;