

This is the new *Amazon CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [Amazon CloudFormation User Guide](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::IoTFleetWise::Campaign DataDestinationConfig
<a name="aws-properties-iotfleetwise-campaign-datadestinationconfig"></a>

The destination where the Amazon IoT FleetWise campaign sends data. You can send data to be stored in Amazon S3 or Amazon Timestream.

## Syntax
<a name="aws-properties-iotfleetwise-campaign-datadestinationconfig-syntax"></a>

To declare this entity in your Amazon CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-iotfleetwise-campaign-datadestinationconfig-syntax.json"></a>

```
{
  "[MqttTopicConfig](#cfn-iotfleetwise-campaign-datadestinationconfig-mqtttopicconfig)" : {{MqttTopicConfig}},
  "[S3Config](#cfn-iotfleetwise-campaign-datadestinationconfig-s3config)" : {{S3Config}},
  "[TimestreamConfig](#cfn-iotfleetwise-campaign-datadestinationconfig-timestreamconfig)" : {{TimestreamConfig}}
}
```

### YAML
<a name="aws-properties-iotfleetwise-campaign-datadestinationconfig-syntax.yaml"></a>

```
  [MqttTopicConfig](#cfn-iotfleetwise-campaign-datadestinationconfig-mqtttopicconfig): {{
    MqttTopicConfig}}
  [S3Config](#cfn-iotfleetwise-campaign-datadestinationconfig-s3config): {{
    S3Config}}
  [TimestreamConfig](#cfn-iotfleetwise-campaign-datadestinationconfig-timestreamconfig): {{
    TimestreamConfig}}
```

## Properties
<a name="aws-properties-iotfleetwise-campaign-datadestinationconfig-properties"></a>

`MqttTopicConfig`  <a name="cfn-iotfleetwise-campaign-datadestinationconfig-mqtttopicconfig"></a>
The MQTT topic to which the Amazon IoT FleetWise campaign routes data.  
*Required*: No  
*Type*: [MqttTopicConfig](aws-properties-iotfleetwise-campaign-mqtttopicconfig.md)  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`S3Config`  <a name="cfn-iotfleetwise-campaign-datadestinationconfig-s3config"></a>
 The Amazon S3 bucket where the Amazon IoT FleetWise campaign sends data.  
*Required*: No  
*Type*: [S3Config](aws-properties-iotfleetwise-campaign-s3config.md)  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)

`TimestreamConfig`  <a name="cfn-iotfleetwise-campaign-datadestinationconfig-timestreamconfig"></a>
 The Amazon Timestream table where the campaign sends data.  
*Required*: No  
*Type*: [TimestreamConfig](aws-properties-iotfleetwise-campaign-timestreamconfig.md)  
*Update requires*: [Replacement](https://docs.amazonaws.cn/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)