Class CfnDatastore.DatastoreStorageProperty
Where data store data is stored.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.IoTAnalytics
Assembly: Amazon.CDK.AWS.IoTAnalytics.dll
Syntax (csharp)
public class DatastoreStorageProperty : Object, CfnDatastore.IDatastoreStorageProperty
Syntax (vb)
Public Class DatastoreStorageProperty
Inherits Object
Implements CfnDatastore.IDatastoreStorageProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTAnalytics;
var serviceManagedS3;
var datastoreStorageProperty = new DatastoreStorageProperty {
CustomerManagedS3 = new CustomerManagedS3Property {
Bucket = "bucket",
RoleArn = "roleArn",
// the properties below are optional
KeyPrefix = "keyPrefix"
},
IotSiteWiseMultiLayerStorage = new IotSiteWiseMultiLayerStorageProperty {
CustomerManagedS3Storage = new CustomerManagedS3StorageProperty {
Bucket = "bucket",
// the properties below are optional
KeyPrefix = "keyPrefix"
}
},
ServiceManagedS3 = serviceManagedS3
};
Synopsis
Constructors
DatastoreStorageProperty() |
Properties
CustomerManagedS3 | Use this to store data store data in an S3 bucket that you manage. |
IotSiteWiseMultiLayerStorage | Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. |
ServiceManagedS3 | Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. |
Constructors
DatastoreStorageProperty()
public DatastoreStorageProperty()
Properties
CustomerManagedS3
Use this to store data store data in an S3 bucket that you manage.
public object CustomerManagedS3 { get; set; }
Property Value
System.Object
Remarks
The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
IotSiteWiseMultiLayerStorage
Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.
public object IotSiteWiseMultiLayerStorage { get; set; }
Property Value
System.Object
Remarks
You can't change the choice of Amazon S3 storage after your data store is created.
ServiceManagedS3
Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service.
public object ServiceManagedS3 { get; set; }
Property Value
System.Object
Remarks
The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.