We recommend new projects start with resources from the AWS provider.
aws-native.timestream.Table
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::Timestream::Table resource creates a Timestream Table.
Create Table Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Table(name: string, args: TableArgs, opts?: CustomResourceOptions);@overload
def Table(resource_name: str,
          args: TableArgs,
          opts: Optional[ResourceOptions] = None)
@overload
def Table(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          database_name: Optional[str] = None,
          magnetic_store_write_properties: Optional[MagneticStoreWritePropertiesPropertiesArgs] = None,
          retention_properties: Optional[RetentionPropertiesPropertiesArgs] = None,
          schema: Optional[SchemaPropertiesArgs] = None,
          table_name: Optional[str] = None,
          tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewTable(ctx *Context, name string, args TableArgs, opts ...ResourceOption) (*Table, error)public Table(string name, TableArgs args, CustomResourceOptions? opts = null)type: aws-native:timestream:Table
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TableArgs
- 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 TableArgs
- 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 TableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Table 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 Table resource accepts the following input properties:
- DatabaseName string
- The name for the database which the table to be created belongs to.
- MagneticStore Pulumi.Write Properties Aws Native. Timestream. Inputs. Magnetic Store Write Properties Properties 
- The properties that determine whether magnetic store writes are enabled.
- RetentionProperties Pulumi.Aws Native. Timestream. Inputs. Retention Properties Properties 
- The retention duration of the memory store and the magnetic store.
- Schema
Pulumi.Aws Native. Timestream. Inputs. Schema Properties 
- A Schema specifies the expected data model of the table.
- TableName string
- The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- DatabaseName string
- The name for the database which the table to be created belongs to.
- MagneticStore MagneticWrite Properties Store Write Properties Properties Args 
- The properties that determine whether magnetic store writes are enabled.
- RetentionProperties RetentionProperties Properties Args 
- The retention duration of the memory store and the magnetic store.
- Schema
SchemaProperties Args 
- A Schema specifies the expected data model of the table.
- TableName string
- The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- databaseName String
- The name for the database which the table to be created belongs to.
- magneticStore MagneticWrite Properties Store Write Properties Properties 
- The properties that determine whether magnetic store writes are enabled.
- retentionProperties RetentionProperties Properties 
- The retention duration of the memory store and the magnetic store.
- schema
SchemaProperties 
- A Schema specifies the expected data model of the table.
- tableName String
- The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- databaseName string
- The name for the database which the table to be created belongs to.
- magneticStore MagneticWrite Properties Store Write Properties Properties 
- The properties that determine whether magnetic store writes are enabled.
- retentionProperties RetentionProperties Properties 
- The retention duration of the memory store and the magnetic store.
- schema
SchemaProperties 
- A Schema specifies the expected data model of the table.
- tableName string
- The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name.
- Tag[]
- An array of key-value pairs to apply to this resource.
- database_name str
- The name for the database which the table to be created belongs to.
- magnetic_store_ Magneticwrite_ properties Store Write Properties Properties Args 
- The properties that determine whether magnetic store writes are enabled.
- retention_properties RetentionProperties Properties Args 
- The retention duration of the memory store and the magnetic store.
- schema
SchemaProperties Args 
- A Schema specifies the expected data model of the table.
- table_name str
- The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- databaseName String
- The name for the database which the table to be created belongs to.
- magneticStore Property MapWrite Properties 
- The properties that determine whether magnetic store writes are enabled.
- retentionProperties Property Map
- The retention duration of the memory store and the magnetic store.
- schema Property Map
- A Schema specifies the expected data model of the table.
- tableName String
- The name for the table. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the table name.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Table resource produces the following output properties:
Supporting Types
MagneticStoreWritePropertiesProperties, MagneticStoreWritePropertiesPropertiesArgs          
- EnableMagnetic boolStore Writes 
- Boolean flag indicating whether magnetic store writes are enabled.
- MagneticStore Pulumi.Rejected Data Location Aws Native. Timestream. Inputs. Magnetic Store Write Properties Properties Magnetic Store Rejected Data Location Properties 
- Location to store information about records that were asynchronously rejected during magnetic store writes.
- EnableMagnetic boolStore Writes 
- Boolean flag indicating whether magnetic store writes are enabled.
- MagneticStore MagneticRejected Data Location Store Write Properties Properties Magnetic Store Rejected Data Location Properties 
- Location to store information about records that were asynchronously rejected during magnetic store writes.
- enableMagnetic BooleanStore Writes 
- Boolean flag indicating whether magnetic store writes are enabled.
- magneticStore MagneticRejected Data Location Store Write Properties Properties Magnetic Store Rejected Data Location Properties 
- Location to store information about records that were asynchronously rejected during magnetic store writes.
- enableMagnetic booleanStore Writes 
- Boolean flag indicating whether magnetic store writes are enabled.
- magneticStore MagneticRejected Data Location Store Write Properties Properties Magnetic Store Rejected Data Location Properties 
- Location to store information about records that were asynchronously rejected during magnetic store writes.
- enable_magnetic_ boolstore_ writes 
- Boolean flag indicating whether magnetic store writes are enabled.
- magnetic_store_ Magneticrejected_ data_ location Store Write Properties Properties Magnetic Store Rejected Data Location Properties 
- Location to store information about records that were asynchronously rejected during magnetic store writes.
- enableMagnetic BooleanStore Writes 
- Boolean flag indicating whether magnetic store writes are enabled.
- magneticStore Property MapRejected Data Location 
- Location to store information about records that were asynchronously rejected during magnetic store writes.
MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationProperties, MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesArgs                      
- S3Configuration
Pulumi.Aws Native. Timestream. Inputs. Magnetic Store Write Properties Properties Magnetic Store Rejected Data Location Properties S3Configuration Properties 
- S3 configuration for location to store rejections from magnetic store writes
- S3Configuration
MagneticStore Write Properties Properties Magnetic Store Rejected Data Location Properties S3Configuration Properties 
- S3 configuration for location to store rejections from magnetic store writes
- s3Configuration
MagneticStore Write Properties Properties Magnetic Store Rejected Data Location Properties S3Configuration Properties 
- S3 configuration for location to store rejections from magnetic store writes
- s3Configuration
MagneticStore Write Properties Properties Magnetic Store Rejected Data Location Properties S3Configuration Properties 
- S3 configuration for location to store rejections from magnetic store writes
- s3_configuration MagneticStore Write Properties Properties Magnetic Store Rejected Data Location Properties S3Configuration Properties 
- S3 configuration for location to store rejections from magnetic store writes
- s3Configuration Property Map
- S3 configuration for location to store rejections from magnetic store writes
MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationProperties, MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationPropertiesArgs                          
- BucketName string
- The bucket name used to store the data.
- EncryptionOption string
- Either SSE_KMS or SSE_S3.
- KmsKey stringId 
- Must be provided if SSE_KMS is specified as the encryption option
- ObjectKey stringPrefix 
- String used to prefix all data in the bucket.
- BucketName string
- The bucket name used to store the data.
- EncryptionOption string
- Either SSE_KMS or SSE_S3.
- KmsKey stringId 
- Must be provided if SSE_KMS is specified as the encryption option
- ObjectKey stringPrefix 
- String used to prefix all data in the bucket.
- bucketName String
- The bucket name used to store the data.
- encryptionOption String
- Either SSE_KMS or SSE_S3.
- kmsKey StringId 
- Must be provided if SSE_KMS is specified as the encryption option
- objectKey StringPrefix 
- String used to prefix all data in the bucket.
- bucketName string
- The bucket name used to store the data.
- encryptionOption string
- Either SSE_KMS or SSE_S3.
- kmsKey stringId 
- Must be provided if SSE_KMS is specified as the encryption option
- objectKey stringPrefix 
- String used to prefix all data in the bucket.
- bucket_name str
- The bucket name used to store the data.
- encryption_option str
- Either SSE_KMS or SSE_S3.
- kms_key_ strid 
- Must be provided if SSE_KMS is specified as the encryption option
- object_key_ strprefix 
- String used to prefix all data in the bucket.
- bucketName String
- The bucket name used to store the data.
- encryptionOption String
- Either SSE_KMS or SSE_S3.
- kmsKey StringId 
- Must be provided if SSE_KMS is specified as the encryption option
- objectKey StringPrefix 
- String used to prefix all data in the bucket.
RetentionPropertiesProperties, RetentionPropertiesPropertiesArgs      
- MagneticStore stringRetention Period In Days 
- The duration for which data must be stored in the magnetic store.
- MemoryStore stringRetention Period In Hours 
- The duration for which data must be stored in the memory store.
- MagneticStore stringRetention Period In Days 
- The duration for which data must be stored in the magnetic store.
- MemoryStore stringRetention Period In Hours 
- The duration for which data must be stored in the memory store.
- magneticStore StringRetention Period In Days 
- The duration for which data must be stored in the magnetic store.
- memoryStore StringRetention Period In Hours 
- The duration for which data must be stored in the memory store.
- magneticStore stringRetention Period In Days 
- The duration for which data must be stored in the magnetic store.
- memoryStore stringRetention Period In Hours 
- The duration for which data must be stored in the memory store.
- magnetic_store_ strretention_ period_ in_ days 
- The duration for which data must be stored in the magnetic store.
- memory_store_ strretention_ period_ in_ hours 
- The duration for which data must be stored in the memory store.
- magneticStore StringRetention Period In Days 
- The duration for which data must be stored in the magnetic store.
- memoryStore StringRetention Period In Hours 
- The duration for which data must be stored in the memory store.
SchemaProperties, SchemaPropertiesArgs    
- CompositePartition List<Pulumi.Key Aws Native. Timestream. Inputs. Table Partition Key> 
- A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
- CompositePartition []TableKey Partition Key 
- A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
- compositePartition List<TableKey Partition Key> 
- A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
- compositePartition TableKey Partition Key[] 
- A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
- composite_partition_ Sequence[Tablekey Partition Key] 
- A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
- compositePartition List<Property Map>Key 
- A non-empty list of partition keys defining the attributes used to partition the table data. The order of the list determines the partition hierarchy. The name and type of each partition key as well as the partition key order cannot be changed after the table is created. However, the enforcement level of each partition key can be changed.
TablePartitionKey, TablePartitionKeyArgs      
TablePartitionKeyEnforcementLevel, TablePartitionKeyEnforcementLevelArgs          
- Required
- REQUIRED
- Optional
- OPTIONAL
- TablePartition Key Enforcement Level Required 
- REQUIRED
- TablePartition Key Enforcement Level Optional 
- OPTIONAL
- Required
- REQUIRED
- Optional
- OPTIONAL
- Required
- REQUIRED
- Optional
- OPTIONAL
- REQUIRED
- REQUIRED
- OPTIONAL
- OPTIONAL
- "REQUIRED"
- REQUIRED
- "OPTIONAL"
- OPTIONAL
TablePartitionKeyType, TablePartitionKeyTypeArgs        
- Dimension
- DIMENSION
- Measure
- MEASURE
- TablePartition Key Type Dimension 
- DIMENSION
- TablePartition Key Type Measure 
- MEASURE
- Dimension
- DIMENSION
- Measure
- MEASURE
- Dimension
- DIMENSION
- Measure
- MEASURE
- DIMENSION
- DIMENSION
- MEASURE
- MEASURE
- "DIMENSION"
- DIMENSION
- "MEASURE"
- MEASURE
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.