Class CfnChannelPropsMixin.ChannelStorageProperty
Where channel data is stored.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.IoTAnalytics.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnChannelPropsMixin.ChannelStorageProperty : CfnChannelPropsMixin.IChannelStorageProperty
Syntax (vb)
Public Class CfnChannelPropsMixin.ChannelStorageProperty Implements CfnChannelPropsMixin.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.Mixins.Preview.AWS.IoTAnalytics.Mixins;
var serviceManagedS3;
var channelStorageProperty = new ChannelStorageProperty {
CustomerManagedS3 = new CustomerManagedS3Property {
Bucket = "bucket",
KeyPrefix = "keyPrefix",
RoleArn = "roleArn"
},
ServiceManagedS3 = serviceManagedS3
};
Synopsis
Constructors
| ChannelStorageProperty() | Where channel data is stored. |
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 . |
Constructors
ChannelStorageProperty()
Where channel data is stored.
public ChannelStorageProperty()
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.Mixins.Preview.AWS.IoTAnalytics.Mixins;
var serviceManagedS3;
var channelStorageProperty = new ChannelStorageProperty {
CustomerManagedS3 = new CustomerManagedS3Property {
Bucket = "bucket",
KeyPrefix = "keyPrefix",
RoleArn = "roleArn"
},
ServiceManagedS3 = serviceManagedS3
};
Properties
CustomerManagedS3
Used to store channel data in an S3 bucket that you manage.
public object? CustomerManagedS3 { get; set; }
Property Value
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.
Type union: either IResolvable or CfnChannelPropsMixin.ICustomerManagedS3Property
ServiceManagedS3
Used to store channel data in an S3 bucket managed by AWS IoT Analytics .
public object? ServiceManagedS3 { get; set; }
Property Value
Remarks
You can't change the choice of S3 storage after the data store is created.