@Stability(value=Stable)
public static interface CfnDatastore.DatastoreStorageProperty
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 serviceManagedS3;
DatastoreStorageProperty datastoreStorageProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDatastore.DatastoreStorageProperty.Builder
A builder for
CfnDatastore.DatastoreStorageProperty |
static class |
CfnDatastore.DatastoreStorageProperty.Jsii$Proxy
An implementation for
CfnDatastore.DatastoreStorageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDatastore.DatastoreStorageProperty.Builder |
builder() |
default Object |
getCustomerManagedS3()
Use this to store data store data in an S3 bucket that you manage.
|
default Object |
getIotSiteWiseMultiLayerStorage()
Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.
|
default Object |
getServiceManagedS3()
Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service.
|
@Stability(value=Stable) @Nullable default Object getCustomerManagedS3()
The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
@Stability(value=Stable) @Nullable default Object getIotSiteWiseMultiLayerStorage()
You can't change the choice of Amazon S3 storage after your data store is created.
@Stability(value=Stable) @Nullable default Object getServiceManagedS3()
The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
@Stability(value=Stable) static CfnDatastore.DatastoreStorageProperty.Builder builder()
Copyright © 2022. All rights reserved.