AWS::Timestream::Table PartitionKey - AWS CloudFormation

AWS::Timestream::Table PartitionKey

An attribute used in partitioning data in a table. A dimension key partitions data using the values of the dimension specified by the dimension-name as partition key, while a measure key partitions data using measure names (values of the 'measure_name' column).

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "EnforcementInRecord" : String, "Name" : String, "Type" : String }

YAML

EnforcementInRecord: String Name: String Type: String

Properties

EnforcementInRecord

The level of enforcement for the specification of a dimension key in ingested records. Options are REQUIRED (dimension key must be specified) and OPTIONAL (dimension key does not have to be specified).

Required: No

Type: String

Allowed values: REQUIRED | OPTIONAL

Update requires: No interruption

Name

The name of the attribute used for a dimension key.

Required: No

Type: String

Minimum: 1

Maximum: 2048

Update requires: No interruption

Type

The type of the partition key. Options are DIMENSION (dimension key) and MEASURE (measure key).

Required: Yes

Type: String

Allowed values: DIMENSION | MEASURE

Update requires: No interruption