aws-cdk-lib.aws_iotanalytics.CfnChannel.ChannelStorageProperty

interface ChannelStorageProperty

LanguageType name
.NETAmazon.CDK.AWS.IoTAnalytics.CfnChannel.ChannelStorageProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiotanalytics#CfnChannel_ChannelStorageProperty
Javasoftware.amazon.awscdk.services.iotanalytics.CfnChannel.ChannelStorageProperty
Pythonaws_cdk.aws_iotanalytics.CfnChannel.ChannelStorageProperty
TypeScript aws-cdk-lib » aws_iotanalytics » CfnChannel » ChannelStorageProperty

Where channel data is stored.

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.

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 channelStorageProperty: iotanalytics.CfnChannel.ChannelStorageProperty = {
  customerManagedS3: {
    bucket: 'bucket',
    roleArn: 'roleArn',

    // the properties below are optional
    keyPrefix: 'keyPrefix',
  },
  serviceManagedS3: serviceManagedS3,
};

Properties

NameTypeDescription
customerManagedS3?IResolvable | CustomerManagedS3PropertyUsed to store channel data in an S3 bucket that you manage.
serviceManagedS3?anyUsed to store channel data in an S3 bucket managed by AWS IoT Analytics .

customerManagedS3?

Type: IResolvable | CustomerManagedS3Property (optional)

Used to store channel data in an S3 bucket that you manage.

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?

Type: any (optional)

Used to store channel data in an S3 bucket managed by AWS IoT Analytics .

You can't change the choice of S3 storage after the data store is created.