Class SqsQueueActionProps
(experimental) Configuration properties of an action for SQS.
Inheritance
System.Object
SqsQueueActionProps
Namespace: Amazon.CDK.AWS.IoT.Actions
Assembly: Amazon.CDK.AWS.IoT.Actions.dll
Syntax (csharp)
public class SqsQueueActionProps : Object, ISqsQueueActionProps, ICommonActionProps
Syntax (vb)
Public Class SqsQueueActionProps
Inherits Object
Implements ISqsQueueActionProps, ICommonActionProps
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.SQS;
var queue = new Queue(this, "MyQueue");
var topicRule = new TopicRule(this, "TopicRule", new TopicRuleProps {
Sql = IotSql.FromStringAsVer20160323("SELECT topic(2) as device_id, year, month, day FROM 'device/+/data'"),
Actions = new [] {
new SqsQueueAction(queue, new SqsQueueActionProps {
UseBase64 = true
}) }
});
Synopsis
Constructors
SqsQueueActionProps() |
Properties
Role | (experimental) The IAM role that allows access to AWS service. |
UseBase64 | (experimental) Specifies whether to use Base64 encoding. |
Constructors
SqsQueueActionProps()
public SqsQueueActionProps()
Properties
Role
(experimental) The IAM role that allows access to AWS service.
public IRole Role { get; set; }
Property Value
Remarks
Default: a new role will be created
Stability: Experimental
UseBase64
(experimental) Specifies whether to use Base64 encoding.
public Nullable<bool> UseBase64 { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false
Stability: Experimental