Skip to content
v2.275.0

DataPartitionProperty Struct ​

The configuration for signal data storage and upload options.

You can only specify these options when the campaign's spooling mode is TO_DISK .

Access to certain AWS IoT FleetWise features is currently gated. For more information, see AWS Region and feature availability in the AWS IoT FleetWise Developer Guide .

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotfleetwise as iotfleetwise } from 'aws-cdk-lib';
const dataPartitionProperty: iotfleetwise.CfnCampaign.DataPartitionProperty = {
  id: 'id',
  storageOptions: {
    maximumSize: {
      unit: 'unit',
      value: 123,
    },
    minimumTimeToLive: {
      unit: 'unit',
      value: 123,
    },
    storageLocation: 'storageLocation',
  },

  // the properties below are optional
  uploadOptions: {
    expression: 'expression',

    // the properties below are optional
    conditionLanguageVersion: 123,
  },
};

Properties ​

idstringidstridStringIdstringId*stringrequired#
The ID of the data partition.

The data partition ID must be unique within a campaign. You can establish a data partition as the default partition for a campaign by using default as the ID.

storageOptionsIResolvable | CfnCampaign.DataPartitionStorageOptionsPropertystorage_optionstyping.Union[IResolvable, DataPartitionStorageOptionsProperty]storageOptionsIResolvableStorageOptionsIResolvableStorageOptionsinterface{}required#
The storage options for a data partition.
uploadOptionsoptionalIResolvable | CfnCampaign.DataPartitionUploadOptionsPropertyupload_optionsoptionaltyping.Union[IResolvable, DataPartitionUploadOptionsProperty]uploadOptionsoptionalIResolvableUploadOptionsoptionalIResolvableUploadOptionsoptionalinterface{}#
The upload options for the data partition.