aws-cdk-lib.aws_iotanalytics.CfnChannelProps

interface CfnChannelProps

LanguageType name
.NETAmazon.CDK.AWS.IoTAnalytics.CfnChannelProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnChannelProps
Javasoftware.amazon.awscdk.services.iotanalytics.CfnChannelProps
Pythonaws_cdk.aws_iotanalytics.CfnChannelProps
TypeScript aws-cdk-lib » 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 { aws_iotanalytics as iotanalytics } from 'aws-cdk-lib';

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

NameTypeDescription
channelName?stringThe name of the channel.
channelStorage?IResolvable | ChannelStoragePropertyWhere channel data is stored.
retentionPeriod?IResolvable | RetentionPeriodPropertyHow long, in days, message data is kept for the channel.
tags?CfnTag[]Metadata which can be used to manage the channel.

channelName?

Type: string (optional)

The name of the channel.


channelStorage?

Type: IResolvable | ChannelStorageProperty (optional)

Where channel data is stored.


retentionPeriod?

Type: IResolvable | RetentionPeriodProperty (optional)

How long, in days, message data is kept for the channel.


tags?

Type: CfnTag[] (optional)

Metadata which can be used to manage the channel.

For more information, see Tag .