AWS::IoTAnalytics::DatastoreAWS::IoTAnalytics::Datastore resource is a repository for messages. For more information, see [How to Use](https://docs.aws.amazon.com/iotanalytics/latest/userguide/welcome.html#aws-iot-analytics-how) in the *User Guide* .
import { CfnDatastore } from 'aws-cdk-lib/aws-iotanalytics';Or use the module namespace:
import * as iotanalytics from 'aws-cdk-lib/aws-iotanalytics';
// iotanalytics.CfnDatastoreConfiguration passed to the constructor as CfnDatastoreProps.
datastoreNameOptionalstringThe name of the data store.
datastorePartitionsOptionalIResolvable | DatastorePartitionsPropertyInformation about the partition dimensions in a data store.
datastoreStorageOptionalIResolvable | DatastoreStoragePropertyWhere data store data is stored.
fileFormatConfigurationOptionalIResolvable | FileFormatConfigurationPropertyContains the configuration information of file formats. ITA data stores support JSON and [Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/) . The default file format is JSON. You can specify only one format. You can't change the file format after you create the data store.
retentionPeriodOptionalIResolvable | RetentionPeriodPropertyHow long, in days, message data is kept for the data store. When `customerManagedS3` storage is selected, this parameter is ignored.
tagsOptionalCfnTag[]Metadata which can be used to manage the data store. For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-iotanalyticsAWS::IoTAnalytics::Datastore