interface DatastoreStorageProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.IoTAnalytics.CfnDatastore.DatastoreStorageProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnDatastore_DatastoreStorageProperty |
![]() | software.amazon.awscdk.services.iotanalytics.CfnDatastore.DatastoreStorageProperty |
![]() | aws_cdk.aws_iotanalytics.CfnDatastore.DatastoreStorageProperty |
![]() | aws-cdk-lib » aws_iotanalytics » CfnDatastore » DatastoreStorageProperty |
Where data store data is stored.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';
declare const serviceManagedS3: any;
const datastoreStorageProperty: iotanalytics.CfnDatastore.DatastoreStorageProperty = {
customerManagedS3: {
bucket: 'bucket',
roleArn: 'roleArn',
// the properties below are optional
keyPrefix: 'keyPrefix',
},
iotSiteWiseMultiLayerStorage: {
customerManagedS3Storage: {
bucket: 'bucket',
// the properties below are optional
keyPrefix: 'keyPrefix',
},
},
serviceManagedS3: serviceManagedS3,
};
Properties
Name | Type | Description |
---|---|---|
customer | IResolvable | Customer | Use this to store data store data in an S3 bucket that you manage. |
iot | IResolvable | Iot | Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage. |
service | any | Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. |
customerManagedS3?
Type:
IResolvable
|
Customer
(optional)
Use this to store data store data in an S3 bucket that you manage.
The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
iotSiteWiseMultiLayerStorage?
Type:
IResolvable
|
Iot
(optional)
Use this to store data used by AWS IoT SiteWise in an Amazon S3 bucket that you manage.
You can't change the choice of Amazon S3 storage after your data store is created.
serviceManagedS3?
Type:
any
(optional)
Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service.
The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.