-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTopicRule_KafkaActionProperty.go
57 lines (54 loc) · 2.66 KB
/
CfnTopicRule_KafkaActionProperty.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
54
55
56
package awsiot
// Send messages to an Amazon Managed Streaming for Apache Kafka (Amazon MSK) or self-managed Apache Kafka cluster.
//
// 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"
//
// kafkaActionProperty := &KafkaActionProperty{
// ClientProperties: map[string]*string{
// "clientPropertiesKey": jsii.String("clientProperties"),
// },
// DestinationArn: jsii.String("destinationArn"),
// Topic: jsii.String("topic"),
//
// // the properties below are optional
// Headers: []interface{}{
// &KafkaActionHeaderProperty{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// Key: jsii.String("key"),
// Partition: jsii.String("partition"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html
//
type CfnTopicRule_KafkaActionProperty struct {
// Properties of the Apache Kafka producer client.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-clientproperties
//
ClientProperties interface{} `field:"required" json:"clientProperties" yaml:"clientProperties"`
// The ARN of Kafka action's VPC `TopicRuleDestination` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-destinationarn
//
DestinationArn *string `field:"required" json:"destinationArn" yaml:"destinationArn"`
// The Kafka topic for messages to be sent to the Kafka broker.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-topic
//
Topic *string `field:"required" json:"topic" yaml:"topic"`
// The list of Kafka headers that you specify.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-headers
//
Headers interface{} `field:"optional" json:"headers" yaml:"headers"`
// The Kafka message key.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-key
//
Key *string `field:"optional" json:"key" yaml:"key"`
// The Kafka message partition.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kafkaaction.html#cfn-iot-topicrule-kafkaaction-partition
//
Partition *string `field:"optional" json:"partition" yaml:"partition"`
}