-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTopicRule_RepublishActionProperty.go
54 lines (51 loc) · 2.37 KB
/
CfnTopicRule_RepublishActionProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package awsiot
// Describes an action to republish to another topic.
//
// Example:
// // 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"
//
// republishActionProperty := &RepublishActionProperty{
// RoleArn: jsii.String("roleArn"),
// Topic: jsii.String("topic"),
//
// // the properties below are optional
// Headers: &RepublishActionHeadersProperty{
// ContentType: jsii.String("contentType"),
// CorrelationData: jsii.String("correlationData"),
// MessageExpiry: jsii.String("messageExpiry"),
// PayloadFormatIndicator: jsii.String("payloadFormatIndicator"),
// ResponseTopic: jsii.String("responseTopic"),
// UserProperties: []interface{}{
// &UserPropertyProperty{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// },
// Qos: jsii.Number(123),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html
//
type CfnTopicRule_RepublishActionProperty struct {
// The ARN of the IAM role that grants access.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The name of the MQTT topic.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-topic
//
Topic *string `field:"required" json:"topic" yaml:"topic"`
// MQTT Version 5.0 headers information. For more information, see [MQTT](https://docs.aws.amazon.com//iot/latest/developerguide/mqtt.html) in the IoT Core Developer Guide.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-headers
//
Headers interface{} `field:"optional" json:"headers" yaml:"headers"`
// The Quality of Service (QoS) level to use when republishing messages.
//
// The default value is 0.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-republishaction.html#cfn-iot-topicrule-republishaction-qos
//
Qos *float64 `field:"optional" json:"qos" yaml:"qos"`
}