@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.865Z") @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.*;
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(ServiceManagedS3Property.builder().build())
.build())
.fileFormatConfiguration(FileFormatConfigurationProperty.builder()
.jsonConfiguration(JsonConfigurationProperty.builder().build())
.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()
`AWS::IoTAnalytics::Datastore.DatastoreName`.
|
default Object |
getDatastorePartitions()
`AWS::IoTAnalytics::Datastore.DatastorePartitions`.
|
default Object |
getDatastoreStorage()
`AWS::IoTAnalytics::Datastore.DatastoreStorage`.
|
default Object |
getFileFormatConfiguration()
`AWS::IoTAnalytics::Datastore.FileFormatConfiguration`.
|
default Object |
getRetentionPeriod()
`AWS::IoTAnalytics::Datastore.RetentionPeriod`.
|
default List<CfnTag> |
getTags()
`AWS::IoTAnalytics::Datastore.Tags`.
|
@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()
@Stability(value=Stable) @Nullable default Object getRetentionPeriod()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnDatastoreProps.Builder builder()
CfnDatastoreProps.Builder of CfnDatastorePropsCopyright © 2021. All rights reserved.