interface PartitionKeyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Timestream.CfnTablePropsMixin.PartitionKeyProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awstimestream#CfnTablePropsMixin_PartitionKeyProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnTablePropsMixin.PartitionKeyProperty |
Python | aws_cdk.cfn_property_mixins.aws_timestream.CfnTablePropsMixin.PartitionKeyProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_timestream » CfnTablePropsMixin » PartitionKeyProperty |
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).
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_timestream as timestream } from '@aws-cdk/cfn-property-mixins';
const partitionKeyProperty: timestream.CfnTablePropsMixin.PartitionKeyProperty = {
enforcementInRecord: 'enforcementInRecord',
name: 'name',
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| enforcement | string | The level of enforcement for the specification of a dimension key in ingested records. |
| name? | string | The name of the attribute used for a dimension key. |
| type? | string | The type of the partition key. |
enforcementInRecord?
Type:
string
(optional)
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).
name?
Type:
string
(optional)
The name of the attribute used for a dimension key.
type?
Type:
string
(optional)
The type of the partition key.
Options are DIMENSION (dimension key) and MEASURE (measure key).

.NET
Go
Java
Python
TypeScript