io.camunda.connector.inbound.model.SqsInboundQueueProperties Maven / Gradle / Ivy
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. Licensed under a proprietary license.
* See the License.txt file for more information. You may not use this file
* except in compliance with the proprietary license.
*/
package io.camunda.connector.inbound.model;
import io.camunda.connector.generator.dsl.Property.FeelMode;
import io.camunda.connector.generator.java.annotation.TemplateProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import java.util.List;
public record SqsInboundQueueProperties(
@Deprecated @TemplateProperty(ignore = true) String region,
@TemplateProperty(
id = "queue.url",
label = "Queue URL",
group = "queueProperties",
description = "Specify the URL of the SQS queue where you would like to subscribe to",
feel = FeelMode.disabled)
@NotBlank
String url,
@TemplateProperty(
id = "queue.attributeNames",
label = "Attribute names",
group = "input",
description =
"Array of queue attribute names. See documentation for details",
feel = FeelMode.optional)
List attributeNames,
@TemplateProperty(
id = "queue.messageAttributeNames",
label = "Message attribute names",
group = "input",
description =
"Array of message attribute names. See documentation for details",
feel = FeelMode.optional)
List messageAttributeNames,
@TemplateProperty(
id = "queue.pollingWaitTime",
label = "Polling wait time",
group = "messagePollingProperties",
defaultValue = "20",
description =
"The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. See documentation for details",
feel = FeelMode.disabled)
@Pattern(regexp = "^([0-9]?|1[0-9]|20|secrets\\..+)$")
@NotBlank
String pollingWaitTime) {}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy