嵌套列表如何工作或如何在Cloudformation中追加到列表?

时间:2019-02-12 01:05:04

标签: amazon-cloudformation

我想引用在堆栈本身中创建的安全性。我正在尝试这样做,但是没有任何效果。有人可以帮我吗?

#region UsrAPBIllGLSubAccID
[PXDBInt]
[PXUIField(DisplayName="Bill COGS SubAccount")]  
[PXSelector(typeof(Search<Sub.subID, Where<Sub.active, Equal<True>>, OrderBy<Desc<Sub.subCD>>>),
            new Type[] {typeof(Sub.subCD),
                        typeof(Sub.description)},
            SubstituteKey = typeof(Sub.subCD)
           )] 
public virtual int? UsrAPBIllGLSubAccID { get; set; }
public abstract class usrAPBIllGLSubAccID : IBqlField { }
#endregion

以下是映射

Parameters:
  env:
    Default: qa
    Type: String

我正在创建安全组,并且还希望映射现有的安全组。

Mappings:
  envMap:
    qa:
      securityGroups: 'sg-xxxxxxxx,sg-xxxxxxxx'
    sub:
      subnets: 'subnet-xxxxxxxx,subnet-xxxxxxxx'

0 个答案:

没有答案