Interface SqsSendMessageProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, ScheduleTargetBaseProps
All Known Implementing Classes:
SqsSendMessageProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:11.994Z") @Stability(Experimental) public interface SqsSendMessageProps extends software.amazon.jsii.JsiiSerializable, ScheduleTargetBaseProps
(experimental) 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();