-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTopicRule_SqsActionProperty.go
35 lines (32 loc) · 1.43 KB
/
CfnTopicRule_SqsActionProperty.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 publish data to an Amazon SQS queue.
//
// 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"
//
// sqsActionProperty := &SqsActionProperty{
// QueueUrl: jsii.String("queueUrl"),
// RoleArn: jsii.String("roleArn"),
//
// // the properties below are optional
// UseBase64: jsii.Boolean(false),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sqsaction.html
//
type CfnTopicRule_SqsActionProperty struct {
// The URL of the Amazon SQS queue.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sqsaction.html#cfn-iot-topicrule-sqsaction-queueurl
//
QueueUrl *string `field:"required" json:"queueUrl" yaml:"queueUrl"`
// The ARN of the IAM role that grants access.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sqsaction.html#cfn-iot-topicrule-sqsaction-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// Specifies whether to use Base64 encoding.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iot-topicrule-sqsaction.html#cfn-iot-topicrule-sqsaction-usebase64
//
UseBase64 interface{} `field:"optional" json:"useBase64" yaml:"useBase64"`
}