queue#
Exec module for managing AWS SQS queue.
- async idem_aws.exec.aws.sqs.queue.get(hub, ctx, resource_id: str, expected_attributes: Dict = None, expected_tags: Dict = None, max_retries: int = 45, delay_between_retries: int = 1) Dict[str, Any] [source]#
Returns the state of an SQS queue.
- Parameters:
resource_id (str) – The URL of the queue.
expected_attributes (dict, Optional) – Retries getting the attributes until they contain these expected attributes.
expected_tags (dict, Optional) – Retries getting the tags until they contain these expected tags.
max_retries (int, Optional) – Max retries for getting the attributes and/or the tags when the expected_attributes and/or expected_tags are set.
delay_between_retries (int, Optional) – The delay in seconds between the retries.
Examples
get_a_queue: exec.run: - path: aws.sqs.queue.get - kwargs: resource_id: "https://us-west-1.queue.amazonaws.com/000000000000/example_fifo_queue.fifo"