interface DatastorePartitionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoTAnalytics.CfnDatastore.DatastorePartitionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnDatastore_DatastorePartitionProperty |
Java | software.amazon.awscdk.services.iotanalytics.CfnDatastore.DatastorePartitionProperty |
Python | aws_cdk.aws_iotanalytics.CfnDatastore.DatastorePartitionProperty |
TypeScript | aws-cdk-lib » aws_iotanalytics » CfnDatastore » DatastorePartitionProperty |
A single dimension to partition a data store.
The dimension must be an AttributePartition or a TimestampPartition .
Example
// 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
| Name | Type | Description |
|---|---|---|
| partition? | IResolvable | Partition | A partition dimension defined by an attribute. |
| timestamp | IResolvable | Timestamp | A partition dimension defined by a timestamp attribute. |
partition?
Type:
IResolvable | Partition
(optional)
A partition dimension defined by an attribute.
timestampPartition?
Type:
IResolvable | Timestamp
(optional)
A partition dimension defined by a timestamp attribute.

.NET
Go
Java
Python
TypeScript