|
| 1 | +apiVersion: operator.aws/v1alpha1 |
| 2 | +kind: ModelDefinition |
| 3 | +metadata: |
| 4 | + name: SQSResource |
| 5 | +spec: |
| 6 | + kind: SQSQueue |
| 7 | + type: Spec # can be Spec or Data |
| 8 | + queue: true |
| 9 | + useCloudFormation: true |
| 10 | + resource: |
| 11 | + name: sqsqueue |
| 12 | + plural: sqsqueues |
| 13 | + shortNames: |
| 14 | + - name: sqs |
| 15 | + - name: queue |
| 16 | + - name: queues |
| 17 | + body: |
| 18 | + schema: |
| 19 | + type: object |
| 20 | + properties: |
| 21 | + - key: contentBasedDeduplication |
| 22 | + type: bool |
| 23 | + description: | |
| 24 | + ContentBasedDeduplication enables content deduping on the queue |
| 25 | + structKey: ContentBasedDeduplication |
| 26 | + templateKey: ContentBasedDeduplication |
| 27 | + - key: delaySeconds |
| 28 | + type: int |
| 29 | + description: | |
| 30 | + DelaySeconds is how long the message should delay on recieving. |
| 31 | + structKey: DelaySeconds |
| 32 | + templateKey: DelaySeconds |
| 33 | + - key: maximumMessageSize |
| 34 | + type: int |
| 35 | + description: | |
| 36 | + MaximumMessageSize the maximum size a message should be and int |
| 37 | + structKey: MaximumMessageSize |
| 38 | + templateKey: MaximumMessageSize |
| 39 | + - key: messageRetentionPeriod |
| 40 | + type: int |
| 41 | + description: | |
| 42 | + MaximumMessageSize the maximum size a message should be |
| 43 | + MessageRetentionPeriod determines how long to keep a message |
| 44 | + structKey: MessageRetentionPeriod |
| 45 | + templateKey: MessageRetentionPeriod |
| 46 | + - key: receiveMessageWaitTimeSeconds |
| 47 | + type: int |
| 48 | + description: | |
| 49 | + Time it will wait until it tries to find another message to process. |
| 50 | + structKey: ReceiveMessageWaitTimeSeconds |
| 51 | + templateKey: ReceiveMessageWaitTimeSeconds |
| 52 | + - key: usedeadletterQueue |
| 53 | + type: bool |
| 54 | + description: | |
| 55 | + Queue specifically made for messages that cannot be processed |
| 56 | + structKey: UsedeadletterQueue |
| 57 | + templateKey: UsedeadletterQueue |
| 58 | + - key: visibilityTimeout |
| 59 | + type: int |
| 60 | + description: | |
| 61 | + Timeout for processing a message. |
| 62 | + structKey: VisibilityTimeout |
| 63 | + templateKey: VisibilityTimeout |
| 64 | + - key: fifoQueue |
| 65 | + type: bool |
| 66 | + description: | |
| 67 | + Should this queue process messages in a first in first out manner |
| 68 | + structKey: FifoQueue |
| 69 | + templateKey: FifoQueue |
| 70 | + output: |
| 71 | + schema: |
| 72 | + type: object |
| 73 | + properties: |
| 74 | + - key: queueURL |
| 75 | + type: string |
| 76 | + description: | |
| 77 | + URL of newly created SQS Queue |
| 78 | + structKey: QueueURL |
| 79 | + templateKey: QueueURL |
| 80 | + - key: queueARN |
| 81 | + type: string |
| 82 | + description: | |
| 83 | + ARN of newly created SQS Queue |
| 84 | + structKey: QueueARN |
| 85 | + templateKey: QueueARN |
| 86 | + - key: queueName |
| 87 | + type: string |
| 88 | + description: | |
| 89 | + Name newly created SQS Queue |
| 90 | + structKey: QueueName |
| 91 | + templateKey: QueueName |
| 92 | + - key: deadLetterQueueURL |
| 93 | + type: string |
| 94 | + description: | |
| 95 | + URL of newly created SQS Queue |
| 96 | + structKey: DeadLetterQueueURL |
| 97 | + templateKey: DeadLetterQueueURL |
| 98 | + - key: deadLetterQueueARN |
| 99 | + type: string |
| 100 | + description: | |
| 101 | + ARN of newly created SQS Queue |
| 102 | + structKey: DeadLetterQueueARN |
| 103 | + templateKey: DeadLetterQueueARN |
| 104 | + - key: deadLetterQueueName |
| 105 | + type: string |
| 106 | + description: | |
| 107 | + Name newly created SQS Queue |
| 108 | + structKey: DeadLetterQueueName |
| 109 | + templateKey: DeadLetterQueueName |
0 commit comments