src/nacl.js
function buildNetworkAclAssociation(name, position) {
  const cfName = `${name}SubnetNetworkAclAssociation${position}`;
  return {
    [cfName]: {
      Type: 'AWS::EC2::SubnetNetworkAclAssociation',
      Properties: {
        SubnetId: {
          Ref: `${name}Subnet${position}`,
        },
        NetworkAclId: {
          Ref: `${name}NetworkAcl`,
        },
      },
    },
  };
}
function buildNetworkAclAssociation(name, position) {
  const cfName = `${name}SubnetNetworkAclAssociation${position}`;
  return {
    [cfName]: {
      Type: 'AWS::EC2::SubnetNetworkAclAssociation',
      Properties: {
        SubnetId: {
          Ref: `${name}Subnet${position}`,
        },
        NetworkAclId: {
          Ref: `${name}NetworkAcl`,
        },
      },
    },
  };
}
function buildNetworkAclAssociation ( name , position ) { const cfName = ` ${ name } ${ position } ` ; return { [ cfName ] : { Type : 'AWS::EC2::SubnetNetworkAclAssociation' , Properties : { SubnetId : { Ref : ` ${ name } ${ position } ` , } , NetworkAclId : { Ref : ` ${ name } ` , } , } , } , } ; }
Build a Subnet Network ACL Association

@param {String} name
@param {Number} position
Build a Subnet Network ACL Association