spring cloud custom configure application.yml属性

ocebsuys  于 2021-07-24  发布在  Java
关注(0)|答案(0)|浏览(210)

我在application.yml中为springcloudsqs设置了以下配置。是否必须使用以下层次结构?我在同一个application.yml中有另一个具有凭据的aws条目。有没有办法指向那些现有的条目?

cloud:
  aws:
    stack:
      auto: false
    credentials:
      access-key: # Enter your key here
      secret-key: # Enter your key here
    region:
      static: us-east-1
    endpoint: https://sqs.us-east-1.amazonaws.com/accounti/queuename.fifo

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题