【发布时间】:2018-01-05 22:34:00
【问题描述】:
是否可以导出 JobQueueName 而不是 AWS::Batch::JobQueue 资源中的 ARN 资源 Outputs CloudFormation 部分(实际上是 serverless.yml)?
这就是我导出 ARN 的方式:
Outputs:
epJobQueueMedium:
Description: Batch Job Queue 50 - medium priority
Value:
Ref: epJobQueue50
Export:
Name: epJobQueueMediumArn
• Fn::GetAtt 不会为 AWS::Batch::JobQueue see the table in the bottom of page 返回任何内容。
• Fn::Ref 返回 AWS::Batch::JobQueue see table in the bottom of page 的 Arn。
是否可以直接获取我的资源的 JobQueueName 以避免在 ARN 上进一步拆分 (Fn::Split) 和选择 (Fn::Select)?
【问题讨论】:
标签: amazon-web-services amazon-cloudformation serverless-framework aws-batch