Interface CfnChannel.IChannelStorageProperty
Where channel data is stored.
Namespace: Amazon.CDK.AWS.IoTAnalytics
Assembly: Amazon.CDK.AWS.IoTAnalytics.dll
Syntax (csharp)
public interface IChannelStorageProperty
Syntax (vb)
Public Interface IChannelStorageProperty
Remarks
You may choose one of serviceManagedS3
, customerManagedS3
storage. If not specified, the default is serviceManagedS3
. This can't be changed after creation of the channel.
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 channelStorageProperty = new ChannelStorageProperty {
CustomerManagedS3 = new CustomerManagedS3Property {
Bucket = "bucket",
RoleArn = "roleArn",
// the properties below are optional
KeyPrefix = "keyPrefix"
},
ServiceManagedS3 = serviceManagedS3
};
Synopsis
Properties
CustomerManagedS3 | Used to store channel data in an S3 bucket that you manage. |
ServiceManagedS3 | Used to store channel data in an S3 bucket managed by AWS IoT Analytics . |
Properties
CustomerManagedS3
Used to store channel data in an S3 bucket that you manage.
virtual object CustomerManagedS3 { get; }
Property Value
System.Object
Remarks
If customer managed storage is selected, the retentionPeriod
parameter is ignored. You can't change the choice of S3 storage after the data store is created.
ServiceManagedS3
Used to store channel data in an S3 bucket managed by AWS IoT Analytics .
virtual object ServiceManagedS3 { get; }
Property Value
System.Object
Remarks
You can't change the choice of S3 storage after the data store is created.