AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
aws-native.timestream.Table
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi
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
The Table resource accepts the following input properties:
- Database
Name string - The name for the database which the table to be created belongs to.
- Magnetic
Store Pulumi.Write Properties Aws Native. Timestream. Inputs. Magnetic Store Write Properties Properties - The properties that determine whether magnetic store writes are enabled.
- Retention
Properties 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.
- Table
Name 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.
- Database
Name string - 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
Schema
Properties Args - A Schema specifies the expected data model of the table.
- Table
Name 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
Args - An array of key-value pairs to apply to this resource.
- database
Name String - The name for the database which the table to be created belongs to.
- magnetic
Store MagneticWrite Properties Store Write Properties Properties - The properties that determine whether magnetic store writes are enabled.
- retention
Properties RetentionProperties Properties - The retention duration of the memory store and the magnetic store.
- schema
Schema
Properties - A Schema specifies the expected data model of the table.
- table
Name 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.
- database
Name string - The name for the database which the table to be created belongs to.
- magnetic
Store MagneticWrite Properties Store Write Properties Properties - The properties that determine whether magnetic store writes are enabled.
- retention
Properties RetentionProperties Properties - The retention duration of the memory store and the magnetic store.
- schema
Schema
Properties - A Schema specifies the expected data model of the table.
- table
Name 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
Schema
Properties 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[Tag
Args] - An array of key-value pairs to apply to this resource.
- database
Name String - The name for the database which the table to be created belongs to.
- magnetic
Store Property MapWrite Properties - The properties that determine whether magnetic store writes are enabled.
- retention
Properties 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.
- table
Name 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
- Enable
Magnetic boolStore Writes - Boolean flag indicating whether magnetic store writes are enabled.
- Magnetic
Store 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.
- 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.
- enable
Magnetic BooleanStore 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.
- enable
Magnetic booleanStore 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.
- 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.
- enable
Magnetic BooleanStore Writes - Boolean flag indicating whether magnetic store writes are enabled.
- magnetic
Store 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
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
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
Magnetic
Store 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
- Bucket
Name string - The bucket name used to store the data.
- Encryption
Option string - Either SSE_KMS or SSE_S3.
- Kms
Key stringId - Must be provided if SSE_KMS is specified as the encryption option
- Object
Key stringPrefix - String used to prefix all data in the bucket.
- Bucket
Name string - The bucket name used to store the data.
- Encryption
Option string - Either SSE_KMS or SSE_S3.
- Kms
Key stringId - Must be provided if SSE_KMS is specified as the encryption option
- Object
Key stringPrefix - String used to prefix all data in the bucket.
- bucket
Name String - The bucket name used to store the data.
- encryption
Option String - Either SSE_KMS or SSE_S3.
- kms
Key StringId - Must be provided if SSE_KMS is specified as the encryption option
- object
Key StringPrefix - String used to prefix all data in the bucket.
- bucket
Name string - The bucket name used to store the data.
- encryption
Option string - Either SSE_KMS or SSE_S3.
- kms
Key stringId - Must be provided if SSE_KMS is specified as the encryption option
- object
Key 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.
- bucket
Name String - The bucket name used to store the data.
- encryption
Option String - Either SSE_KMS or SSE_S3.
- kms
Key StringId - Must be provided if SSE_KMS is specified as the encryption option
- object
Key StringPrefix - String used to prefix all data in the bucket.
RetentionPropertiesProperties, RetentionPropertiesPropertiesArgs
- Magnetic
Store stringRetention Period In Days - The duration for which data must be stored in the magnetic store.
- Memory
Store stringRetention Period In Hours - The duration for which data must be stored in the memory store.
- Magnetic
Store stringRetention Period In Days - The duration for which data must be stored in the magnetic store.
- Memory
Store stringRetention Period In Hours - The duration for which data must be stored in the memory store.
- magnetic
Store StringRetention Period In Days - The duration for which data must be stored in the magnetic store.
- memory
Store StringRetention Period In Hours - The duration for which data must be stored in the memory store.
- magnetic
Store stringRetention Period In Days - The duration for which data must be stored in the magnetic store.
- memory
Store 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.
- magnetic
Store StringRetention Period In Days - The duration for which data must be stored in the magnetic store.
- memory
Store StringRetention Period In Hours - The duration for which data must be stored in the memory store.
SchemaProperties, SchemaPropertiesArgs
- Composite
Partition 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.
- Composite
Partition []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 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.
- composite
Partition 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.
- composite
Partition 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
- Table
Partition Key Enforcement Level Required - REQUIRED
- Table
Partition 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
- Table
Partition Key Type Dimension - DIMENSION
- Table
Partition 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
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi