Class CfnChannelProps
Properties for defining a CfnChannel
.
Inheritance
System.Object
CfnChannelProps
Implements
Namespace: Amazon.CDK.AWS.IoTAnalytics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnChannelProps : Object, ICfnChannelProps
Syntax (vb)
Public Class CfnChannelProps
Inherits Object
Implements ICfnChannelProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotanalytics-channel.html
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 cfnChannelProps = new CfnChannelProps {
ChannelName = "channelName",
ChannelStorage = new ChannelStorageProperty {
CustomerManagedS3 = new CustomerManagedS3Property {
Bucket = "bucket",
RoleArn = "roleArn",
// the properties below are optional
KeyPrefix = "keyPrefix"
},
ServiceManagedS3 = serviceManagedS3
},
RetentionPeriod = new RetentionPeriodProperty {
NumberOfDays = 123,
Unlimited = false
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnChannelProps() |
Properties
ChannelName | The name of the channel. |
ChannelStorage | Where channel data is stored. |
RetentionPeriod | How long, in days, message data is kept for the channel. |
Tags | Metadata which can be used to manage the channel. |
Constructors
CfnChannelProps()
public CfnChannelProps()
Properties
ChannelName
The name of the channel.
public string ChannelName { get; set; }
Property Value
System.String
Remarks
ChannelStorage
Where channel data is stored.
public object ChannelStorage { get; set; }
Property Value
System.Object
Remarks
RetentionPeriod
How long, in days, message data is kept for the channel.
public object RetentionPeriod { get; set; }
Property Value
System.Object
Remarks
Tags
Metadata which can be used to manage the channel.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .