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
@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)
public Table(String name, TableArgs args)
public Table(String name, TableArgs args, CustomResourceOptions options)
type: aws-native:timestream:Table
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_timestream_table" "name" {
# resource properties
}
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.
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:
- database_name
string
- The name for the database which the table to be created belongs to.
- magnetic_store_write_properties
object
- The properties that determine whether magnetic store writes are enabled.
- retention_properties
object
- The retention duration of the memory store and the magnetic store.
- schema
object
- 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.
- tags
list(object)
- 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:
- Arn
string
- The
arn of the table. - Id
string
- The provider-assigned unique ID for this managed resource.
- Name
string
- The table name exposed as a read-only attribute.
- Arn
string
- The
arn of the table. - Id
string
- The provider-assigned unique ID for this managed resource.
- Name
string
- The table name exposed as a read-only attribute.
- arn
string
- The
arn of the table. - id
string
- The provider-assigned unique ID for this managed resource.
- name
string
- The table name exposed as a read-only attribute.
- arn
String
- The
arn of the table. - id
String
- The provider-assigned unique ID for this managed resource.
- name
String
- The table name exposed as a read-only attribute.
- arn
string
- The
arn of the table. - id
string
- The provider-assigned unique ID for this managed resource.
- name
string
- The table name exposed as a read-only attribute.
- arn
str
- The
arn of the table. - id
str
- The provider-assigned unique ID for this managed resource.
- name
str
- The table name exposed as a read-only attribute.
- arn
String
- The
arn of the table. - id
String
- The provider-assigned unique ID for this managed resource.
- name
String
- The table name exposed as a read-only attribute.
Supporting Types
MagneticStoreWritePropertiesProperties, MagneticStoreWritePropertiesPropertiesArgs
The properties that determine whether magnetic store writes are enabled.MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationProperties, MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesArgs
Location to store information about records that were asynchronously rejected during magnetic store writes.MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationProperties, MagneticStoreWritePropertiesPropertiesMagneticStoreRejectedDataLocationPropertiesS3ConfigurationPropertiesArgs
S3 configuration for location to store rejections from magnetic store writes- BucketName
string
- The bucket name used to store the data.
- EncryptionOption
string
- Either SSE_KMS or SSE_S3.
- KmsKeyId
string
- Must be provided if SSE_KMS is specified as the encryption option
- ObjectKeyPrefix
string
- 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.
- KmsKeyId
string
- Must be provided if SSE_KMS is specified as the encryption option
- ObjectKeyPrefix
string
- 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.
- kmsKeyId
String
- Must be provided if SSE_KMS is specified as the encryption option
- objectKeyPrefix
String
- 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.
- kmsKeyId
string
- Must be provided if SSE_KMS is specified as the encryption option
- objectKeyPrefix
string
- 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.
- kmsKeyId
String
- Must be provided if SSE_KMS is specified as the encryption option
- objectKeyPrefix
String
- String used to prefix all data in the bucket.
RetentionPropertiesProperties, RetentionPropertiesPropertiesArgs
The retention duration of the memory store and the magnetic store.SchemaProperties, SchemaPropertiesArgs
A Schema specifies the expected data model of the table.- CompositePartitionKey
List<Pulumi.AwsNative.Timestream.Inputs.TablePartitionKey>
- 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.
- CompositePartitionKey
[]TablePartitionKey
- 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_key
list(object)
- 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.
- compositePartitionKey
List<TablePartitionKey>
- 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.
- compositePartitionKey
TablePartitionKey[]
- 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_key
Sequence[TablePartitionKey]
- 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.
- compositePartitionKey
List<Property Map>
- 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
An attribute used in partitioning data in a table. There are two types of partition keys: dimension keys and measure keys. A dimension key partitions data on a dimension name, while a measure key partitions data on the measure name.TablePartitionKeyEnforcementLevel, TablePartitionKeyEnforcementLevelArgs
| Name | Value |
|---|
| Required | REQUIRED |
| Optional | OPTIONAL |
| Name | Value |
|---|
| TablePartitionKeyEnforcementLevelRequired | REQUIRED |
| TablePartitionKeyEnforcementLevelOptional | OPTIONAL |
| Name | Value |
|---|
| Required | REQUIRED |
| Optional | OPTIONAL |
| Name | Value |
|---|
| Required | REQUIRED |
| Optional | OPTIONAL |
| Name | Value |
|---|
| REQUIRED | REQUIRED |
| OPTIONAL | OPTIONAL |
TablePartitionKeyType, TablePartitionKeyTypeArgs
| Name | Value |
|---|
| Dimension | DIMENSION |
| Measure | MEASURE |
| Name | Value |
|---|
| TablePartitionKeyTypeDimension | DIMENSION |
| TablePartitionKeyTypeMeasure | MEASURE |
| Name | Value |
|---|
| Dimension | DIMENSION |
| Measure | MEASURE |
| Name | Value |
|---|
| Dimension | DIMENSION |
| Measure | MEASURE |
| Name | Value |
|---|
| DIMENSION | DIMENSION |
| MEASURE | MEASURE |
Tag, TagArgs
A set of tags to apply to the resource.- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0