# TopicRuleReference

A reference to a TopicRule resource.

- Source: Generated code
- Type last changed: v2.224.0 · 13 Nov 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as interfaces_iot } from 'aws-cdk-lib/interfaces';
const topicRuleReference: interfaces_iot.TopicRuleReference = {
  ruleName: 'ruleName',
  topicRuleArn: 'topicRuleArn',
};
```

## Properties

- `ruleName`: string (required) — The RuleName of the TopicRule resource.

- `topicRuleArn`: string (required) — The ARN of the TopicRule resource.
