interface TopicRuleReference
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Interfaces.IoT.TopicRuleReference |
Go | github.com/aws/aws-cdk-go/awscdk/v2/interfaces/awsiot#TopicRuleReference |
Java | software.amazon.awscdk.interfaces.iot.TopicRuleReference |
Python | aws_cdk.interfaces.aws_iot.TopicRuleReference |
TypeScript | aws-cdk-lib » interfaces » aws_iot » TopicRuleReference |
A reference to a TopicRule resource.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as interfaces_aws_iot } from 'aws-cdk-lib/interfaces';
const topicRuleReference: interfaces_aws_iot.TopicRuleReference = {
ruleName: 'ruleName',
topicRuleArn: 'topicRuleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| rule | string | The RuleName of the TopicRule resource. |
| topic | string | The ARN of the TopicRule resource. |
ruleName
Type:
string
The RuleName of the TopicRule resource.
topicRuleArn
Type:
string
The ARN of the TopicRule resource.

.NET
Go
Java
Python
TypeScript