# MqttTopicConfigProperty

The MQTT topic to which the AWS IoT FleetWise campaign routes data.

For more information, see [Device communication protocols](https://docs.aws.amazon.com/iot/latest/developerguide/protocols.html) in the *AWS IoT Core Developer Guide* .

> 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 code
- Type last changed: v2.157.0 · 10 Sep 2024

## 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 mqttTopicConfigProperty: iotfleetwise.CfnCampaign.MqttTopicConfigProperty = {
  executionRoleArn: 'executionRoleArn',
  mqttTopicArn: 'mqttTopicArn',
};
```

## Properties

- `executionRoleArn`: string (required) — The ARN of the role that grants AWS IoT FleetWise permission to access and act on messages sent to the MQTT topic.

- `mqttTopicArn`: string (required) — The ARN of the MQTT topic.
