-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTopicRule_KinesisActionProperty.go
35 lines (32 loc) · 1.52 KB
/
CfnTopicRule_KinesisActionProperty.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
package awsiot
// Describes an action to write data to an Amazon Kinesis stream.
//
// 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"
//
// kinesisActionProperty := &KinesisActionProperty{
// RoleArn: jsii.String("roleArn"),
// StreamName: jsii.String("streamName"),
//
// // the properties below are optional
// PartitionKey: jsii.String("partitionKey"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kinesisaction.html
//
type CfnTopicRule_KinesisActionProperty struct {
// The ARN of the IAM role that grants access to the Amazon Kinesis stream.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kinesisaction.html#cfn-iot-topicrule-kinesisaction-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// The name of the Amazon Kinesis stream.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kinesisaction.html#cfn-iot-topicrule-kinesisaction-streamname
//
StreamName *string `field:"required" json:"streamName" yaml:"streamName"`
// The partition key.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-kinesisaction.html#cfn-iot-topicrule-kinesisaction-partitionkey
//
PartitionKey *string `field:"optional" json:"partitionKey" yaml:"partitionKey"`
}