Interface CfnAlarmModel.SqsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAlarmModel.SqsProperty.Jsii$Proxy
- Enclosing class:
CfnAlarmModel
@Stability(Stable)
public static interface CfnAlarmModel.SqsProperty
extends software.amazon.jsii.JsiiSerializable
Sends information about the detector model instance and the event that triggered the action 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 software.amazon.awscdk.services.iotevents.*;
SqsProperty sqsProperty = SqsProperty.builder()
.queueUrl("queueUrl")
// the properties below are optional
.payload(PayloadProperty.builder()
.contentExpression("contentExpression")
.type("type")
.build())
.useBase64(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAlarmModel.SqsPropertystatic final classAn implementation forCfnAlarmModel.SqsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectYou can configure the action payload when you send a message to an Amazon SQS queue.The URL of the SQS queue where the data is written.default ObjectSet this to TRUE if you want the data to be base-64 encoded before it is written to the queue.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getQueueUrl
The URL of the SQS queue where the data is written.- See Also:
-
getPayload
You can configure the action payload when you send a message to an Amazon SQS queue.Returns union: either
IResolvableorCfnAlarmModel.PayloadProperty- See Also:
-
getUseBase64
Set this to TRUE if you want the data to be base-64 encoded before it is written to the queue.Otherwise, set this to FALSE.
Returns union: either
BooleanorIResolvable- See Also:
-
builder
- Returns:
- a
CfnAlarmModel.SqsProperty.BuilderofCfnAlarmModel.SqsProperty
-