Class CfnAlarmModel.SqsProperty
Sends information about the detector model instance and the event that triggered the action to an Amazon SQS queue.
Inheritance
System.Object
CfnAlarmModel.SqsProperty
Implements
Namespace: Amazon.CDK.AWS.IoTEvents
Assembly: Amazon.CDK.AWS.IoTEvents.dll
Syntax (csharp)
public class SqsProperty : Object, CfnAlarmModel.ISqsProperty
Syntax (vb)
Public Class SqsProperty
Inherits Object
Implements CfnAlarmModel.ISqsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoTEvents;
var sqsProperty = new SqsProperty {
QueueUrl = "queueUrl",
// the properties below are optional
Payload = new PayloadProperty {
ContentExpression = "contentExpression",
Type = "type"
},
UseBase64 = false
};
Synopsis
Constructors
SqsProperty() |
Properties
Payload | You can configure the action payload when you send a message to an Amazon SQS queue. |
QueueUrl | The URL of the SQS queue where the data is written. |
UseBase64 | Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue. |
Constructors
SqsProperty()
public SqsProperty()
Properties
Payload
You can configure the action payload when you send a message to an Amazon SQS queue.
public object Payload { get; set; }
Property Value
System.Object
Remarks
QueueUrl
The URL of the SQS queue where the data is written.
public string QueueUrl { get; set; }
Property Value
System.String
Remarks
UseBase64
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.
public object UseBase64 { get; set; }
Property Value
System.Object