Skip to content
This repository was archived by the owner on Nov 7, 2019. It is now read-only.

Add QueueName #175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cloudformation/sqsqueue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Resources:
SQSQueue:
Type: 'AWS::SQS::Queue'
Properties:
QueueName: !Ref ResourceName
ContentBasedDeduplication: !If
- IsFifo
- !Ref ContentBasedDeduplication
Expand Down
3 changes: 2 additions & 1 deletion examples/cloudformationtemplates/sqsqueue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ data:
SQSQueue:
Type: 'AWS::SQS::Queue'
Properties:
QueueName: !Ref ResourceName
ContentBasedDeduplication: !If
- IsFifo
- !Ref ContentBasedDeduplication
Expand Down Expand Up @@ -142,4 +143,4 @@ data:
Value: !If [ CreateDeadLetterQueue, !GetAtt MyDeadLetterQueue.Arn, "" ]
DeadLetterQueueName:
Description: Name newly created SQS Queue
Value: !If [ CreateDeadLetterQueue, !GetAtt MyDeadLetterQueue.QueueName, "" ]
Value: !If [ CreateDeadLetterQueue, !GetAtt MyDeadLetterQueue.QueueName, "" ]