CfnDatastoreMixinProps
- class aws_cdk.mixins_preview.aws_iotanalytics.mixins.CfnDatastoreMixinProps(*, datastore_name=None, datastore_partitions=None, datastore_storage=None, file_format_configuration=None, retention_period=None, tags=None)
Bases:
objectProperties for CfnDatastorePropsMixin.
- Parameters:
datastore_name (
Optional[str]) – The name of the data store.datastore_partitions (
Union[IResolvable,DatastorePartitionsProperty,Dict[str,Any],None]) – Information about the partition dimensions in a data store.datastore_storage (
Union[IResolvable,DatastoreStorageProperty,Dict[str,Any],None]) – Where data store data is stored.file_format_configuration (
Union[IResolvable,FileFormatConfigurationProperty,Dict[str,Any],None]) – Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet . 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.retention_period (
Union[IResolvable,RetentionPeriodProperty,Dict[str,Any],None]) – How long, in days, message data is kept for the data store. WhencustomerManagedS3storage is selected, this parameter is ignored.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – Metadata which can be used to manage the data store. For more information, see Tag .
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_iotanalytics import mixins as iotanalytics_mixins # json_configuration: Any # service_managed_s3: Any cfn_datastore_mixin_props = iotanalytics_mixins.CfnDatastoreMixinProps( datastore_name="datastoreName", datastore_partitions=iotanalytics_mixins.CfnDatastorePropsMixin.DatastorePartitionsProperty( partitions=[iotanalytics_mixins.CfnDatastorePropsMixin.DatastorePartitionProperty( partition=iotanalytics_mixins.CfnDatastorePropsMixin.PartitionProperty( attribute_name="attributeName" ), timestamp_partition=iotanalytics_mixins.CfnDatastorePropsMixin.TimestampPartitionProperty( attribute_name="attributeName", timestamp_format="timestampFormat" ) )] ), datastore_storage=iotanalytics_mixins.CfnDatastorePropsMixin.DatastoreStorageProperty( customer_managed_s3=iotanalytics_mixins.CfnDatastorePropsMixin.CustomerManagedS3Property( bucket="bucket", key_prefix="keyPrefix", role_arn="roleArn" ), iot_site_wise_multi_layer_storage=iotanalytics_mixins.CfnDatastorePropsMixin.IotSiteWiseMultiLayerStorageProperty( customer_managed_s3_storage=iotanalytics_mixins.CfnDatastorePropsMixin.CustomerManagedS3StorageProperty( bucket="bucket", key_prefix="keyPrefix" ) ), service_managed_s3=service_managed_s3 ), file_format_configuration=iotanalytics_mixins.CfnDatastorePropsMixin.FileFormatConfigurationProperty( json_configuration=json_configuration, parquet_configuration=iotanalytics_mixins.CfnDatastorePropsMixin.ParquetConfigurationProperty( schema_definition=iotanalytics_mixins.CfnDatastorePropsMixin.SchemaDefinitionProperty( columns=[iotanalytics_mixins.CfnDatastorePropsMixin.ColumnProperty( name="name", type="type" )] ) ) ), retention_period=iotanalytics_mixins.CfnDatastorePropsMixin.RetentionPeriodProperty( number_of_days=123, unlimited=False ), tags=[CfnTag( key="key", value="value" )] )
Attributes
- datastore_name
The name of the data store.
- datastore_partitions
Information about the partition dimensions in a data store.
- datastore_storage
Where data store data is stored.
- file_format_configuration
Contains the configuration information of file formats. AWS IoT Analytics data stores support JSON and Parquet .
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.
- retention_period
How long, in days, message data is kept for the data store.
When
customerManagedS3storage is selected, this parameter is ignored.