# DataPartitionUploadOptionsProperty

The upload options for the data partition.

If upload options are specified, you must also specify storage options. See [DataPartitionStorageOptions](https://docs.aws.amazon.com/iot-fleetwise/latest/APIReference/API_DataPartitionStorageOptions.html) .

> Access to certain AWS IoT FleetWise features is currently gated. For more information, see [AWS Region and feature availability](https://docs.aws.amazon.com/iot-fleetwise/latest/developerguide/fleetwise-regions.html) in the *AWS IoT FleetWise Developer Guide* .

- Source: Generated at build time
- Type last changed: v2.169.0 · 21 Nov 2024

## Example

TypeScript:

```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 dataPartitionUploadOptionsProperty: iotfleetwise.CfnCampaign.DataPartitionUploadOptionsProperty = {
  expression: 'expression',

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

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iotfleetwise as iotfleetwise

data_partition_upload_options_property = iotfleetwise.CfnCampaign.DataPartitionUploadOptionsProperty(
    expression="expression",

    # the properties below are optional
    condition_language_version=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iotfleetwise.*;

DataPartitionUploadOptionsProperty dataPartitionUploadOptionsProperty = DataPartitionUploadOptionsProperty.builder()
        .expression("expression")

        // the properties below are optional
        .conditionLanguageVersion(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTFleetWise;

var dataPartitionUploadOptionsProperty = new DataPartitionUploadOptionsProperty {
    Expression = "expression",

    // the properties below are optional
    ConditionLanguageVersion = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

dataPartitionUploadOptionsProperty := &DataPartitionUploadOptionsProperty{
	Expression: jsii.String("expression"),

	// the properties below are optional
	ConditionLanguageVersion: jsii.Number(123),
}
```

## Properties

- `conditionLanguageVersion`: number — The version of the condition language.

  Defaults to the most recent condition language version.

- `expression`: string (required) — The logical expression used to recognize what data to collect.

  For example, `$variable.`Vehicle.OutsideAirTemperature` >= 105.0` .
