Serverless.ts GetAtt issue

Hi, I am having trouble getting this work. I am trying to attach lambda func with dynamo stream. could you please help. It would be great if you can share any documentation for serverless.ts file

handleMdmEventStream: {
      name: '${self:custom.name}-handleMdmEventStream',
      handler: 'src/triggers/mdm-stream-trigger.handler',
      events: [
        {
          stream: {
            arn: {
              "Fn::GetAtt": ["loggers", "StreamArn"]
            },
          }
        }
      ]
    },

any one please help?