interface CfnChannelProps
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.IoTAnalytics.CfnChannelProps | 
|  Java | software.amazon.awscdk.services.iotanalytics.CfnChannelProps | 
|  Python | aws_cdk.aws_iotanalytics.CfnChannelProps | 
|  TypeScript | @aws-cdk/aws-iotanalytics»CfnChannelProps | 
Properties for defining a CfnChannel.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iotanalytics from '@aws-cdk/aws-iotanalytics';
declare const serviceManagedS3: any;
const cfnChannelProps: iotanalytics.CfnChannelProps = {
  channelName: 'channelName',
  channelStorage: {
    customerManagedS3: {
      bucket: 'bucket',
      roleArn: 'roleArn',
      // the properties below are optional
      keyPrefix: 'keyPrefix',
    },
    serviceManagedS3: serviceManagedS3,
  },
  retentionPeriod: {
    numberOfDays: 123,
    unlimited: false,
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
Properties
| Name | Type | Description | 
|---|---|---|
| channel | string | The name of the channel. | 
| channel | Channel | IResolvable | Where channel data is stored. | 
| retention | IResolvable | Retention | How long, in days, message data is kept for the channel. | 
| tags? | Cfn[] | Metadata which can be used to manage the channel. | 
channelName?
Type:
string
(optional)
The name of the channel.
channelStorage?
Type:
Channel | IResolvable
(optional)
Where channel data is stored.
retentionPeriod?
Type:
IResolvable | Retention
(optional)
How long, in days, message data is kept for the channel.
tags?
Type:
Cfn[]
(optional)
Metadata which can be used to manage the channel.
For more information, see Tag .
