Interface SqsSendMessageProps
- All Superinterfaces:
 software.amazon.jsii.JsiiSerializable,ScheduleTargetBaseProps
- All Known Implementing Classes:
 SqsSendMessageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-29T11:15:48.477Z")
@Stability(Stable)
public interface SqsSendMessageProps
extends software.amazon.jsii.JsiiSerializable, ScheduleTargetBaseProps
Properties for a SQS Queue Target.
 
Example:
 String payload = "test";
 String messageGroupId = "id";
 Queue queue = Queue.Builder.create(this, "MyQueue")
         .fifo(true)
         .contentBasedDeduplication(true)
         .build();
 SqsSendMessage target = SqsSendMessage.Builder.create(queue)
         .input(ScheduleTargetInput.fromText(payload))
         .messageGroupId(messageGroupId)
         .build();
 Schedule.Builder.create(this, "Schedule")
         .schedule(ScheduleExpression.rate(Duration.minutes(1)))
         .target(target)
         .build();
 - 
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSqsSendMessagePropsstatic final classAn implementation forSqsSendMessageProps - 
Method Summary
Modifier and TypeMethodDescriptionstatic SqsSendMessageProps.Builderbuilder()default StringThe FIFO message group ID to use as the target.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.scheduler.targets.ScheduleTargetBaseProps
getDeadLetterQueue, getInput, getMaxEventAge, getRetryAttempts, getRole 
- 
Method Details
- 
getMessageGroupId
The FIFO message group ID to use as the target.This must be specified when the target is a FIFO queue. If you specify a FIFO queue as a target, the queue must have content-based deduplication enabled.
A length of
messageGroupIdmust be between 1 and 128.Default: - no message group ID
- See Also:
 
 - 
builder
- Returns:
 - a 
SqsSendMessageProps.BuilderofSqsSendMessageProps 
 
 -