Skip to content
v2.275.0

DatastorePartitionProperty Struct ​

A single dimension to partition a data store.

The dimension must be an AttributePartition or a TimestampPartition .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';
const datastorePartitionProperty: iotanalytics.CfnDatastore.DatastorePartitionProperty = {
  partition: {
    attributeName: 'attributeName',
  },
  timestampPartition: {
    attributeName: 'attributeName',

    // the properties below are optional
    timestampFormat: 'timestampFormat',
  },
};

Properties ​

partitionoptionalIResolvable | CfnDatastore.PartitionPropertypartitionoptionaltyping.Union[IResolvable, PartitionProperty]partitionoptionalIResolvablePartitionoptionalIResolvablePartitionoptionalinterface{}#
A partition dimension defined by an attribute.
timestampPartitionoptionalIResolvable | CfnDatastore.TimestampPartitionPropertytimestamp_partitionoptionaltyping.Union[IResolvable, TimestampPartitionProperty]timestampPartitionoptionalIResolvableTimestampPartitionoptionalIResolvableTimestampPartitionoptionalinterface{}#
A partition dimension defined by a timestamp attribute.