Я просмотрел несколько руководств, и все они следуют одному и тому же шаблону, но я все еще получаю следующую ошибку:
An error occurred: IngestSNSTopic - Value of property Endpoint must be of type String.
Использование здесь безсерверной инфраструктуры - это раздел, в котором объявляется этот ресурс.Я перебираю это уже несколько часов, буду рада помощи, спасибо.
IngestSNSTopic:
Type: AWS::SNS::Topic
Properties:
Subscription:
-
Endpoint:
Fn::GetAtt:
- IngestQueue
- Arn
Protocol: sqs
IngestQueue:
Type: AWS::SQS::Queue
Properties:
QueueName: ${opt:stage}-mam-ingest-queue-${file(env/${opt:stage, 'dev'}.yml):IP_SLUG}
RedrivePolicy:
maxReceiveCount: 3
deadLetterTargetArn:
Fn::GetAtt:
- IngestDeadLetter
- Arn