@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.948Z") @Stability(value=Stable) public interface CfnDatastoreProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotanalytics.*;
Object jsonConfiguration;
Object serviceManagedS3;
CfnDatastoreProps cfnDatastoreProps = CfnDatastoreProps.builder()
.datastoreName("datastoreName")
.datastorePartitions(DatastorePartitionsProperty.builder()
.partitions(List.of(DatastorePartitionProperty.builder()
.partition(PartitionProperty.builder()
.attributeName("attributeName")
.build())
.timestampPartition(TimestampPartitionProperty.builder()
.attributeName("attributeName")
// the properties below are optional
.timestampFormat("timestampFormat")
.build())
.build()))
.build())
.datastoreStorage(DatastoreStorageProperty.builder()
.customerManagedS3(CustomerManagedS3Property.builder()
.bucket("bucket")
.roleArn("roleArn")
// the properties below are optional
.keyPrefix("keyPrefix")
.build())
.iotSiteWiseMultiLayerStorage(IotSiteWiseMultiLayerStorageProperty.builder()
.customerManagedS3Storage(CustomerManagedS3StorageProperty.builder()
.bucket("bucket")
// the properties below are optional
.keyPrefix("keyPrefix")
.build())
.build())
.serviceManagedS3(serviceManagedS3)
.build())
.fileFormatConfiguration(FileFormatConfigurationProperty.builder()
.jsonConfiguration(jsonConfiguration)
.parquetConfiguration(ParquetConfigurationProperty.builder()
.schemaDefinition(SchemaDefinitionProperty.builder()
.columns(List.of(ColumnProperty.builder()
.name("name")
.type("type")
.build()))
.build())
.build())
.build())
.retentionPeriod(RetentionPeriodProperty.builder()
.numberOfDays(123)
.unlimited(false)
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDatastoreProps.Builder
A builder for
CfnDatastoreProps |
static class |
CfnDatastoreProps.Jsii$Proxy
An implementation for
CfnDatastoreProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDatastoreProps.Builder |
builder() |
default String |
getDatastoreName()
The name of the data store.
|
default Object |
getDatastorePartitions()
Information about the partition dimensions in a data store.
|
default Object |
getDatastoreStorage()
Where data store data is stored.
|
default Object |
getFileFormatConfiguration()
Contains the configuration information of file formats.
|
default Object |
getRetentionPeriod()
How long, in days, message data is kept for the data store.
|
default List<CfnTag> |
getTags()
Metadata which can be used to manage the data store.
|
@Stability(value=Stable) @Nullable default String getDatastoreName()
@Stability(value=Stable) @Nullable default Object getDatastorePartitions()
@Stability(value=Stable) @Nullable default Object getDatastoreStorage()
@Stability(value=Stable) @Nullable default Object getFileFormatConfiguration()
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.
@Stability(value=Stable) @Nullable default Object getRetentionPeriod()
When customerManagedS3 storage is selected, this parameter is ignored.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
For more information, see Tag .
@Stability(value=Stable) static CfnDatastoreProps.Builder builder()
CfnDatastoreProps.Builder of CfnDatastorePropsCopyright © 2022. All rights reserved.