AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::IoTAnalytics::Datastore

CfnDatastore

AWS::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

import { CfnDatastore } from 'aws-cdk-lib/aws-iotanalytics';

Or use the module namespace:

import * as iotanalytics from 'aws-cdk-lib/aws-iotanalytics';
// iotanalytics.CfnDatastore

Properties

Configuration passed to the constructor as CfnDatastoreProps.

datastoreNameOptional
string

The name of the data store.

datastorePartitionsOptional
IResolvable | DatastorePartitionsProperty

Information about the partition dimensions in a data store.

datastoreStorageOptional
IResolvable | DatastoreStorageProperty

Where data store data is stored.

fileFormatConfigurationOptional
IResolvable | FileFormatConfigurationProperty

Contains 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.

retentionPeriodOptional
IResolvable | RetentionPeriodProperty

How long, in days, message data is kept for the data store. When `customerManagedS3` storage is selected, this parameter is ignored.

tagsOptional
CfnTag[]

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) .

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-iotanalytics
CFN TypeAWS::IoTAnalytics::Datastore
Properties6

Related Constructs

External Links