Class CfnDatastorePropsMixin.DatastoreStorageProperty
Where data store data is stored.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.IoTAnalytics.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDatastorePropsMixin.DatastoreStorageProperty : CfnDatastorePropsMixin.IDatastoreStorageProperty
Syntax (vb)
Public Class CfnDatastorePropsMixin.DatastoreStorageProperty Implements CfnDatastorePropsMixin.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.Mixins.Preview.AWS.IoTAnalytics.Mixins;
var serviceManagedS3;
var datastoreStorageProperty = new DatastoreStorageProperty {
CustomerManagedS3 = new CustomerManagedS3Property {
Bucket = "bucket",
KeyPrefix = "keyPrefix",
RoleArn = "roleArn"
},
IotSiteWiseMultiLayerStorage = new IotSiteWiseMultiLayerStorageProperty {
CustomerManagedS3Storage = new CustomerManagedS3StorageProperty {
Bucket = "bucket",
KeyPrefix = "keyPrefix"
}
},
ServiceManagedS3 = serviceManagedS3
};
Synopsis
Constructors
| DatastoreStorageProperty() | Where data store data is stored. |
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()
Where data store data is stored.
public DatastoreStorageProperty()
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.Mixins.Preview.AWS.IoTAnalytics.Mixins;
var serviceManagedS3;
var datastoreStorageProperty = new DatastoreStorageProperty {
CustomerManagedS3 = new CustomerManagedS3Property {
Bucket = "bucket",
KeyPrefix = "keyPrefix",
RoleArn = "roleArn"
},
IotSiteWiseMultiLayerStorage = new IotSiteWiseMultiLayerStorageProperty {
CustomerManagedS3Storage = new CustomerManagedS3StorageProperty {
Bucket = "bucket",
KeyPrefix = "keyPrefix"
}
},
ServiceManagedS3 = serviceManagedS3
};
Properties
CustomerManagedS3
Use this to store data store data in an S3 bucket that you manage.
public object? CustomerManagedS3 { get; set; }
Property Value
Remarks
The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
Type union: either IResolvable or CfnDatastorePropsMixin.ICustomerManagedS3Property
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
Remarks
You can't change the choice of Amazon S3 storage after your data store is created.
Type union: either IResolvable or CfnDatastorePropsMixin.IIotSiteWiseMultiLayerStorageProperty
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
Remarks
The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.